/// import { TMakasiTheme, TPageData } from '~'; export declare type TSectionData = { id: string; type: string; params: TParams; data: TData; }; export declare type TSectionComponent = (props: { section: TSectionData; theme: TMakasiTheme; index: number; data: TPageData; }) => JSX.Element; export declare type TSectionContext = { id: string; getField: (fieldName: string) => any; updateField: (fieldName: string, data: any) => any; getParam: (fieldName: string) => any; updateParam: (fieldName: string, data: any) => any; refresh: () => void; setIsFocused: (isFocused: boolean) => void; }; export declare type TSectionInstanceComponent = (data: TSectionData) => JSX.Element; export declare type TSectionDefinitionPreset = { label: string; previewImage: any; defaultParams: any; defaultData: any; };