import { type InsertPicType, type InsertVidType, type ImageElement } from './rich-text-editor';
import '@wangeditor/editor/dist/css/style.css';
import type { IDomEditor } from '@wangeditor/editor';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    readonly value: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
    readonly mode: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorMode>, unknown, unknown, "default", boolean>;
    readonly toolbarConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IToolbarConfig, boolean>;
    readonly editorConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IEditorConfig, boolean>;
    readonly onBeforeUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<(file: File) => boolean>, unknown, unknown, () => Promise<boolean>, boolean>;
    readonly customUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadImage>, unknown, unknown, (file: File) => Promise<unknown>, boolean>;
    readonly customUploadVideo: {
        readonly type: import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadVideo>;
        readonly required: false;
        readonly validator: (val: unknown) => boolean;
        __epPropKey: true;
    };
    readonly uploadImageError: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "上传失败！", boolean>;
    readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
    readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
}>, {
    bem: {
        b: (blockSuffix?: string) => string;
        e: (element?: string) => string;
        m: (modifier?: string) => string;
        be: (blockSuffix?: string, element?: string) => string;
        em: (element: string, modifier: string) => string;
        bm: (blockSuffix: string, modifier: string) => string;
        bem: (blockSuffix: string, element: string, modifier: string) => string;
        is: (name?: string) => string;
    };
    props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
        readonly value: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
        readonly mode: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorMode>, unknown, unknown, "default", boolean>;
        readonly toolbarConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IToolbarConfig, boolean>;
        readonly editorConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IEditorConfig, boolean>;
        readonly onBeforeUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<(file: File) => boolean>, unknown, unknown, () => Promise<boolean>, boolean>;
        readonly customUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadImage>, unknown, unknown, (file: File) => Promise<unknown>, boolean>;
        readonly customUploadVideo: {
            readonly type: import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadVideo>;
            readonly required: false;
            readonly validator: (val: unknown) => boolean;
            __epPropKey: true;
        };
        readonly uploadImageError: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "上传失败！", boolean>;
        readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
        readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
    }>> & Readonly<{
        onBlur?: (editor: IDomEditor) => any;
        onChange?: (editor: IDomEditor) => any;
        onFocus?: (editor: IDomEditor) => any;
        onPaste?: (args_0: [IDomEditor, (bool: boolean) => void]) => any;
        onCreated?: (editor: IDomEditor) => any;
        onDestroyed?: (editor: IDomEditor) => any;
        "onUpdate:value"?: (val: string) => any;
        onAlert?: (args_0: [any, any]) => any;
    }> & {}>;
    emits: ((event: "blur", editor: IDomEditor) => void) & ((event: "change", editor: IDomEditor) => void) & ((event: "focus", editor: IDomEditor) => void) & ((event: "paste", args_0: [IDomEditor, (bool: boolean) => void]) => void) & ((event: "created", editor: IDomEditor) => void) & ((event: "destroyed", editor: IDomEditor) => void) & ((event: "update:value", val: string) => void) & ((event: "alert", args_0: [any, any]) => void);
    editorRef: import("vue").ShallowRef<any, any>;
    innerValue: import("vue").Ref<string, string>;
    loading: import("vue").Ref<boolean, boolean>;
    allImages: import("vue").Ref<any, any>;
    editorConfig: import("vue").ComputedRef<{
        MENU_CONF: {
            uploadImage: {
                onBeforeUpload(file: File): Promise<false | File>;
                customUpload(file: File, insertFn: InsertPicType): Promise<void>;
                base64LimitSize: number;
            };
            insertImage: {
                onInsertedImage(imageNode: ImageElement | null): Promise<void>;
            };
            uploadVideo: {
                customUpload(file: File, insertFn: InsertVidType): Promise<void>;
            };
        };
    }>;
    handleCreated: (editor: IDomEditor) => void;
    onEditorUpdate: (value: string) => void;
    handleChange: (editor: IDomEditor) => void;
    handleDestroyed: (editor: IDomEditor) => void;
    handleFocus: (editor: IDomEditor) => void;
    handleBlur: (editor: IDomEditor) => void;
    customAlert: (info: any, type: any) => void;
    getEditorImage: () => {
        allImages: any;
        currentImages: any;
    };
    readonly Editor: import("vue").DefineComponent<{
        mode: {
            type: StringConstructor;
            default: string;
        };
        defaultContent: {
            type: import("vue").PropType<import("@wangeditor/editor").SlateDescendant[]>;
            default: never[];
        };
        defaultHtml: {
            type: StringConstructor;
            default: string;
        };
        defaultConfig: {
            type: import("vue").PropType<Partial<import("@wangeditor/editor").IEditorConfig>>;
            default: {};
        };
        modelValue: {
            type: StringConstructor;
            default: string;
        };
    }, {
        box: import("vue").Ref<null, null>;
    }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
        mode?: unknown;
        defaultContent?: unknown;
        defaultHtml?: unknown;
        defaultConfig?: unknown;
        modelValue?: unknown;
    } & {
        mode: string;
        defaultContent: import("@wangeditor/editor").SlateDescendant[];
        defaultHtml: string;
        defaultConfig: Partial<import("@wangeditor/editor").IEditorConfig>;
        modelValue: string;
    }>, {
        mode: string;
        defaultContent: import("@wangeditor/editor").SlateDescendant[];
        defaultHtml: string;
        defaultConfig: Partial<import("@wangeditor/editor").IEditorConfig>;
        modelValue: string;
    }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
    readonly Toolbar: import("vue").DefineComponent<{
        editor: {
            type: import("vue").PropType<IDomEditor>;
        };
        mode: {
            type: StringConstructor;
            default: string;
        };
        defaultConfig: {
            type: import("vue").PropType<Partial<import("@wangeditor/editor").IToolbarConfig>>;
            default: {};
        };
    }, {
        selector: import("vue").Ref<null, null>;
    }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
        editor?: unknown;
        mode?: unknown;
        defaultConfig?: unknown;
    } & {
        mode: string;
        defaultConfig: Partial<import("@wangeditor/editor").IToolbarConfig>;
    } & {
        editor?: IDomEditor;
    }>, {
        mode: string;
        defaultConfig: Partial<import("@wangeditor/editor").IToolbarConfig>;
    }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    'update:value': (val: string) => boolean;
    created: (editor: IDomEditor) => boolean;
    change: (editor: IDomEditor) => boolean;
    destroyed: (editor: IDomEditor) => boolean;
    focus: (editor: IDomEditor) => boolean;
    blur: (editor: IDomEditor) => boolean;
    alert: ([info, type]: [any, any]) => boolean;
    paste: ([editor, callback]: [IDomEditor, (bool: boolean) => void]) => boolean;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    readonly value: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
    readonly mode: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorMode>, unknown, unknown, "default", boolean>;
    readonly toolbarConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IToolbarConfig, boolean>;
    readonly editorConfig: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => import("@wangeditor/editor").IEditorConfig, boolean>;
    readonly onBeforeUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<(file: File) => boolean>, unknown, unknown, () => Promise<boolean>, boolean>;
    readonly customUploadImage: import("ll-plus/es/utils").EpPropFinalized<import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadImage>, unknown, unknown, (file: File) => Promise<unknown>, boolean>;
    readonly customUploadVideo: {
        readonly type: import("vue").PropType<import("./rich-text-editor").RichTextEditorModeCustomUploadVideo>;
        readonly required: false;
        readonly validator: (val: unknown) => boolean;
        __epPropKey: true;
    };
    readonly uploadImageError: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "上传失败！", boolean>;
    readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
    readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
}>> & Readonly<{
    onBlur?: (editor: IDomEditor) => any;
    onChange?: (editor: IDomEditor) => any;
    onFocus?: (editor: IDomEditor) => any;
    onPaste?: (args_0: [IDomEditor, (bool: boolean) => void]) => any;
    onCreated?: (editor: IDomEditor) => any;
    onDestroyed?: (editor: IDomEditor) => any;
    "onUpdate:value"?: (val: string) => any;
    onAlert?: (args_0: [any, any]) => any;
}>, {
    readonly mode: import("ll-plus/es/utils").EpPropMergeType<import("vue").PropType<import("./rich-text-editor").RichTextEditorMode>, unknown, unknown>;
    readonly value: string;
    readonly disabled: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
    readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
    readonly toolbarConfig: Record<string, any>;
    readonly editorConfig: Record<string, any>;
    readonly onBeforeUploadImage: (file: File) => boolean;
    readonly customUploadImage: import("./rich-text-editor").RichTextEditorModeCustomUploadImage;
    readonly uploadImageError: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
