import { ComponentSchema, PageSchema } from '../../../types/epic-designer'; import { DesignerProps } from './types'; /** * 接受一个PageSchema对象作为参数。根据传入的schemas和script属性,更新页面对应的数据 * @param pageSchema */ declare function setData(schema: PageSchema): void; /** * 返回当前页面数据的 PageSchema 对象,包含页面当前的 schemas 和 script 数据。 */ declare function getData(): PageSchema; /** * 重置页面数据为默认数据。 */ declare function reset(): void; /** * 预览 */ declare function handlePreview(): void; declare function __VLS_template(): { slots: { header?(_: {}): any; "header-prefix"?(_: {}): any; "header-prefix"?(_: {}): any; "header-title"?(_: {}): any; "header-right-prefix"?(_: {}): any; "header-right-action"?(_: {}): any; "header-right-suffix"?(_: {}): any; }; refs: { previewRef: any; }; attrs: Partial<{}>; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent; undoList: import('vue').Ref<{ type: string; componentSchema: string; }[], import('../../../../utils').RecordModel[] | { type: string; componentSchema: string; }[]>; currentRecord: import('vue').Ref<{ type: string; componentSchema: string; } | null, import('../../../../utils').RecordModel | { type: string; componentSchema: string; } | null>; push: (componentSchema: ComponentSchema[], type?: string) => void; undo: () => import('../../../../utils').RecordModel | false; redo: () => import('../../../../utils').RecordModel | false; reset: () => void; }; setData: typeof setData; getData: typeof getData; reset: typeof reset; preview: typeof handlePreview; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, { title: string; disabledZoom: boolean; hiddenHeader: boolean; lockDefaultSchemaEdit: boolean; formMode: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };