import { AllElementsNames, CustomComponents } from './elements';
import { TableNames } from './tables';

interface IBlock {
  title?: string;
  elements: (AllElementsNames | TableNames | CustomComponents)[];
  [key: string]: any;
}

export interface IGroup {
  title?: string;
  blocks?: IBlock[];
  style?: { [key: string]: any };
}

export interface ISection {
  title?: string;
  groups?: IGroup[];
}
