export interface RichCommandGroup { groupName: string; values: Array; selected?: boolean; } export declare type SelectedCommand = Array; /** 编辑器自定义工具栏类型 */ export declare type RichTextEditorToolbars = SelectedCommand; export interface RichEditorCommand { code: string; cls: string; title: string; value: any; selected?: boolean; visible?: boolean; } export declare const RICH_COMMANDS: { concise: ({ visible: boolean; code: string; cls: string; title: string; value: string[]; } | { visible: boolean; code: string; cls: string; title: string; value: { list: string; }[]; } | { visible: boolean; code: string; cls: string; title: string; value: { header: number; }[]; })[]; advanced: { visible: boolean; code: string; cls: string; title: string; value: string; }[]; }; /** * 将设计时的数据转换为运行时富文本编辑器工具栏所识别的格式 * @param designerData 设计时数据 */ export declare function Convert2HtmlEditorToolbars(type: 'advanced' | 'concise', toolbars: RichTextEditorToolbars): any;