import { PageSchema } from '../../../types/src/index'; export declare function usePageSchema(): { pageSchema: { canvas?: { height?: string | undefined; mode?: "desktop" | "mobile" | "pad" | "pc" | "tablet" | undefined; width?: string | undefined; } | undefined; schemas: { [x: string]: any; children?: /*elided*/ any[] | undefined; description?: string | undefined; editData?: object | undefined; field?: string | undefined; id?: string | undefined; input?: boolean | undefined; label?: string | undefined; noFormItem?: boolean | undefined; on?: { [eventName: string]: import('epic-designer').ActionsModel[]; } | undefined; props?: any; rules?: { [x: string]: any; trigger?: string | string[] | undefined; enum?: Array | undefined; isValidator?: boolean | undefined; len?: number | undefined; max?: number | undefined; message?: ((a?: string) => string) | string | undefined; min?: number | undefined; pattern?: (RegExp | string) | undefined; required?: boolean | undefined; type?: string | undefined; validator?: (Function | string) | undefined; whitespace?: boolean | undefined; }[] | undefined; show?: ((renderCallbackParams: import('../../../types/src/index').RenderCallbackParams) => boolean) | boolean | undefined; slotName?: string | undefined; slots?: { [slotName: string]: import('../../../types/src/index').ComponentSchema[]; } | undefined; type: string; }[]; script?: string | undefined; }; setPageSchema: (schema: PageSchema) => void; };