/// import type { EditorStore } from '../interfaces/EditorContext'; import type { ComponentInstance } from '../interfaces/ComponentInstance'; import { Platform } from '../constant/Platform'; export interface WufengEditorContextValue { store: EditorStore; blackList?: string[]; selectedComponent?: ComponentInstance | null; columns: number; showQuickArrange: boolean; platform: typeof Platform.WEB; setStore: React.Dispatch>; updateSelectedComponent: (component: ComponentInstance | null) => void; addComponent: ({ dragCompnent, hoverComponent, }: { dragCompnent: ComponentInstance; hoverComponent: ComponentInstance; }) => void; moveComponent: ({ dragCompnent, hoverComponent, }: { dragCompnent: ComponentInstance; hoverComponent: ComponentInstance; }) => void; deleteComponent: (component: ComponentInstance) => void; copyComponent: (component: ComponentInstance) => void; updateComponentProps: (component: ComponentInstance, props: any) => void; updateColumns: (columns: number) => void; setPlatform: (platform: typeof Platform.WEB) => void; onChangeInputsValue: (res: Record) => void; changeInputsValue: Record; updatePageTitle: (title: string) => void; busiObjectId?: string; } declare const WufengEditorContext: import("react").Context; export declare type WufengEditorContextInstance = typeof WufengEditorContext; export default WufengEditorContext;