import { BlockLayerProps } from '../../BlockLayer'; import React from 'react'; export interface ExtensionProps extends BlockLayerProps { children?: React.ReactNode | React.ReactElement; categories: Array<{ label: string; active?: boolean; blocks: Array<{ type: string; payload?: any; title?: string | undefined; }>; displayType?: 'grid'; } | { label: string; active?: boolean; blocks: Array<{ payload?: any; title?: string | undefined; }>; displayType: 'column'; } | { label: string; active?: boolean; blocks: Array<{ payload?: any; }>; displayType: 'widget'; } | { label: string; active?: boolean; blocks: Array; displayType: 'custom'; }>; showSourceCode?: boolean; jsonReadOnly?: boolean; mjmlReadOnly?: boolean; compact?: boolean; showBlockLayer?: boolean; } export declare const ExtensionContext: React.Context; export declare const ExtensionProvider: React.FC; export declare function useExtensionProps(): ExtensionProps;