export interface BlockTemplateModalProps { jsonData?: any; type?: 'add' | 'edit'; pageCompInfo?: any; visible?: boolean; onCancel?: () => void; } export declare const useBlockTemplate: () => { show: (props: BlockTemplateModalProps) => void; hide: (cb?: any) => void; modalProps: { onCancel: () => void; jsonData?: any; type?: "add" | "edit" | undefined; pageCompInfo?: any; visible: boolean; }; };