interface Config { appId: string; container: string; /** * 获取使用权益凭证 */ getUseRightCert(info: { appId: string; useKey: string; abilityCode: string; workId: string; }): Promise; /** * 获取用户授权标识 */ authorize(): Promise; } export declare function createMobileTemplateEditor(config: Config): { readonly isLoad: boolean; openTemplateList: (options: { onSelectTemplate?(info: { id: string; }): void; }) => Promise; close: () => void; onSave: (fn: (info: { workId: string; files: Blob[]; title: string; type: string; }) => void) => void; onTemplateLoad: (fn: () => any) => void; onClose: (fn: () => any) => void; onLoad: (fn: () => any) => void; editDesign: (options: { id: string; }) => Promise; createDesign: (options: { templateId: string; }) => Promise; }; export {};