import { PropType } from 'vue'; export interface IconObject { value?: string; [key: string]: any; } export interface EditorDefaultStyle { fontFamily?: string; fontSize?: string; } export interface EditorProps { desc?: string; imgUploadUrl?: string; fontFamilies?: string; fontSizes?: string; required?: boolean; id?: string; modelValue?: string; default?: EditorDefaultStyle; toolbar?: string[]; imgUpload?: (blobInfo: any, success: (url: string) => void, failure: (err: string) => void) => void; mediaUpload?: (blobInfo: any, success: (url: string) => void, failure: (err: string) => void) => void; menubar?: string; height?: number | string; width?: number | string; language?: 'en' | 'zh'; maxLength?: number | string; } export declare const editorProps: { desc: { type: StringConstructor; default: string; }; imgUploadUrl: { type: StringConstructor; default: string; }; fontFamilies: { type: StringConstructor; default: string; }; fontSizes: { type: StringConstructor; default: string; }; required: { type: BooleanConstructor; default: boolean; }; id: { type: StringConstructor; default: () => string; }; modelValue: { type: StringConstructor; default: string; }; default: { type: PropType; default: () => {}; }; toolbar: { type: PropType; default: () => any[]; }; imgUpload: { type: FunctionConstructor; default: any; }; mediaUpload: { type: FunctionConstructor; default: any; }; menubar: { type: StringConstructor; default: string; }; height: { type: (NumberConstructor | StringConstructor)[]; default: number; }; width: { type: (NumberConstructor | StringConstructor)[]; default: string; }; language: { type: PropType<"en" | "zh">; default: string; validator: (val: string) => boolean; }; maxLength: { type: (NumberConstructor | StringConstructor)[]; default: number; }; }; export declare const editorEmits: { 'update:modelValue': (value: string) => boolean; change: (value: string) => boolean; };