import type { Component } from '@wufengteam/core/dist/src/types';
export interface PageData {
    id: string;
    pageName: string;
    components: Component[];
    [key: string]: any;
}
export interface LingxiEditorRejectPlugin {
    beforePropsChange: ({ DSLCore, content }: {
        DSLCore: any;
        content: any;
    }) => Promise<any> | void;
}
/**
 * 灵犀编辑器 ref 提供的方法
 */
export interface LingxiEditorImpl {
    getCurrentPageData: () => PageData;
    clearPlugin: () => void;
    regiseFn: (e: Record<string, (e: any) => any>) => void;
    rejectPlugin: (e: LingxiEditorRejectPlugin) => void;
    isDSLChange: () => boolean;
}
/**
 * 平台类型
 */
export declare enum Platform {
    pc = "pc",
    h5 = "h5"
}
/**
 * 终端类型，服务端用到
 */
export declare enum TerminalType {
    PC = "PC",
    APP = "APP"
}
