import { App } from 'vue';
import _EditorContainer from './editor';
import './editor.less';
declare const EditorContainer: {
    new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
        preTime: {
            type: StringConstructor;
            default: string;
        };
        textCount: {
            type: NumberConstructor;
            default: number;
        };
        highlight: {
            type: BooleanConstructor;
            default: undefined;
        };
        listenAnchorId: {
            type: StringConstructor;
            default: string;
        };
        listenMode: {
            type: import("vue").PropType<import("../../..").ListenModeEnum>;
            default: string;
        };
        placeholder: {
            type: StringConstructor;
            default: string;
        };
        simple: {
            type: BooleanConstructor;
            default: boolean;
        };
        maxLength: {
            type: NumberConstructor;
            default: number;
        };
        showWordLimit: {
            type: BooleanConstructor;
            default: boolean;
        };
        disabled: {
            type: BooleanConstructor;
            default: boolean;
        };
        class: {
            type: (ArrayConstructor | StringConstructor)[];
            default: () => never[];
        };
        contentStyle: {
            type: import("vue").PropType<import("vue").CSSProperties>;
            default: () => {};
        };
        refinable: {
            type: BooleanConstructor;
            default: boolean;
        };
        refineContext: {
            type: import("vue").PropType<import("./context").RefineContext>;
        };
        editorHeight: {
            type: (StringConstructor | NumberConstructor)[];
            default: string;
        };
        showPreTime: {
            type: BooleanConstructor;
            default: boolean;
        };
        wordLimitTip: {
            type: StringConstructor;
            default: string;
        };
    }>> & Readonly<{
        onChange?: ((contentLength: number) => any) | undefined;
        onClear?: (() => any) | undefined;
        "onUpdate:textCount"?: ((value: number) => any) | undefined;
        onAnchorListen?: ((value: import("../../..").IAnchor, text: string) => any) | undefined;
        onAnchorRemove?: ((value: import("../../..").IAnchor) => any) | undefined;
        onAnchorListenStop?: ((value: import("../../..").IAnchor) => any) | undefined;
    }>, {
        action: import("vue").Ref<import("../../hooks/use-editor").EditorAction | undefined, import("../../hooks/use-editor").EditorAction | undefined>;
        innerRender: () => import("vue/jsx-runtime").JSX.Element;
        innerGetContent: (_options?: import("./context").ContentOptions) => string;
        innerSetContent: (content: string) => Promise<void>;
        innerSetMarkdown: (markdown: string) => Promise<void>;
        innerAppendMarkdown: (markdown: string) => Promise<void>;
        innerGetMarkdownContent: () => string;
        innerAppendContent: (content: string | string[]) => Promise<void>;
        innerGetTextContent: () => string[];
        innerInsertContent: (content: string | Node) => void;
        innerDeleteContent: () => void;
        innerUpdateContent: (content: string | Node) => void;
        innerIsCaret: () => boolean;
        innerIsRange: () => boolean;
        innerIsSelectionInDifferentParas: () => boolean;
        innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
        innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
        innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
        innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
        innerIsAllMarkedByAnchor: () => boolean;
        innerAddExtraAnchors: (data: import("../../..").IAnchor[]) => void;
        innerUpdateAnchor: (newAnchor: import("../../..").IAnchor) => void;
        innerClearContent: () => void;
        innerInsertContentAtCursor: (_content: string | string[], func?: (canInsert: boolean) => void) => void;
        innerRenderHightlight: (matchingContent: string) => void;
        innerUnrenderHightlight: () => void;
        innerIsWordLengthExceeded: () => boolean;
    }, {}, {}, {
        getContent(options?: import("./context").ContentOptions): string;
        getHtml(options: import("./context").ContentOptions): string;
        setContent(content: string): Promise<void>;
        setHtml(content: string): Promise<void>;
        setMarkdown(markdown: string): Promise<void>;
        appendMarkdown(markdown: string): Promise<void>;
        getMarkdownContent(): string;
        appendContent(content: string | string[]): Promise<void>;
        getTextContent(): string[];
        insertContent(content: string | Node): void;
        deleteContent(): void;
        updateContent(content: string | Node): void;
        isCaret(): boolean;
        isRange(): boolean;
        isSelectionInDifferentParas(): boolean;
        isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
        convertToContent(node: HTMLElement | Text): string | undefined;
        getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
        getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
        isAllMarkedByAnchor(): boolean;
        addExtraAnchors(data: import("../../..").IAnchor[]): void;
        updateAnchor(anchor: import("../../..").IAnchor): void;
        clearContent(): void;
        insertContentAtCursor(_content: string | string[], callback?: (canInsert: boolean) => void): void;
        clear(): Promise<void>;
        renderHighlight(matchingContent: string): void;
        unrenderHighlight(): void;
        isWordLengthExceeded(): boolean;
    }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
        change: (contentLength: number) => true;
        'update:textCount': (value: number) => true;
        anchorListen: (value: import("../../..").IAnchor, text: string) => true;
        anchorListenStop: (value: import("../../..").IAnchor) => true;
        anchorRemove: (value: import("../../..").IAnchor) => true;
        clear: () => true;
    }, import("vue").PublicProps, {
        highlight: boolean;
        class: string | unknown[];
        disabled: boolean;
        placeholder: string;
        maxLength: number;
        showWordLimit: boolean;
        simple: boolean;
        wordLimitTip: string;
        preTime: string;
        textCount: number;
        listenAnchorId: string;
        listenMode: import("../../..").ListenModeEnum;
        contentStyle: import("vue").CSSProperties;
        refinable: boolean;
        editorHeight: string | number;
        showPreTime: boolean;
    }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
        P: {};
        B: {};
        D: {};
        C: {};
        M: {};
        Defaults: {};
    }, Readonly<import("vue").ExtractPropTypes<{
        preTime: {
            type: StringConstructor;
            default: string;
        };
        textCount: {
            type: NumberConstructor;
            default: number;
        };
        highlight: {
            type: BooleanConstructor;
            default: undefined;
        };
        listenAnchorId: {
            type: StringConstructor;
            default: string;
        };
        listenMode: {
            type: import("vue").PropType<import("../../..").ListenModeEnum>;
            default: string;
        };
        placeholder: {
            type: StringConstructor;
            default: string;
        };
        simple: {
            type: BooleanConstructor;
            default: boolean;
        };
        maxLength: {
            type: NumberConstructor;
            default: number;
        };
        showWordLimit: {
            type: BooleanConstructor;
            default: boolean;
        };
        disabled: {
            type: BooleanConstructor;
            default: boolean;
        };
        class: {
            type: (ArrayConstructor | StringConstructor)[];
            default: () => never[];
        };
        contentStyle: {
            type: import("vue").PropType<import("vue").CSSProperties>;
            default: () => {};
        };
        refinable: {
            type: BooleanConstructor;
            default: boolean;
        };
        refineContext: {
            type: import("vue").PropType<import("./context").RefineContext>;
        };
        editorHeight: {
            type: (StringConstructor | NumberConstructor)[];
            default: string;
        };
        showPreTime: {
            type: BooleanConstructor;
            default: boolean;
        };
        wordLimitTip: {
            type: StringConstructor;
            default: string;
        };
    }>> & Readonly<{
        onChange?: ((contentLength: number) => any) | undefined;
        onClear?: (() => any) | undefined;
        "onUpdate:textCount"?: ((value: number) => any) | undefined;
        onAnchorListen?: ((value: import("../../..").IAnchor, text: string) => any) | undefined;
        onAnchorRemove?: ((value: import("../../..").IAnchor) => any) | undefined;
        onAnchorListenStop?: ((value: import("../../..").IAnchor) => any) | undefined;
    }>, {
        action: import("vue").Ref<import("../../hooks/use-editor").EditorAction | undefined, import("../../hooks/use-editor").EditorAction | undefined>;
        innerRender: () => import("vue/jsx-runtime").JSX.Element;
        innerGetContent: (_options?: import("./context").ContentOptions) => string;
        innerSetContent: (content: string) => Promise<void>;
        innerSetMarkdown: (markdown: string) => Promise<void>;
        innerAppendMarkdown: (markdown: string) => Promise<void>;
        innerGetMarkdownContent: () => string;
        innerAppendContent: (content: string | string[]) => Promise<void>;
        innerGetTextContent: () => string[];
        innerInsertContent: (content: string | Node) => void;
        innerDeleteContent: () => void;
        innerUpdateContent: (content: string | Node) => void;
        innerIsCaret: () => boolean;
        innerIsRange: () => boolean;
        innerIsSelectionInDifferentParas: () => boolean;
        innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
        innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
        innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
        innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
        innerIsAllMarkedByAnchor: () => boolean;
        innerAddExtraAnchors: (data: import("../../..").IAnchor[]) => void;
        innerUpdateAnchor: (newAnchor: import("../../..").IAnchor) => void;
        innerClearContent: () => void;
        innerInsertContentAtCursor: (_content: string | string[], func?: (canInsert: boolean) => void) => void;
        innerRenderHightlight: (matchingContent: string) => void;
        innerUnrenderHightlight: () => void;
        innerIsWordLengthExceeded: () => boolean;
    }, {}, {}, {
        getContent(options?: import("./context").ContentOptions): string;
        getHtml(options: import("./context").ContentOptions): string;
        setContent(content: string): Promise<void>;
        setHtml(content: string): Promise<void>;
        setMarkdown(markdown: string): Promise<void>;
        appendMarkdown(markdown: string): Promise<void>;
        getMarkdownContent(): string;
        appendContent(content: string | string[]): Promise<void>;
        getTextContent(): string[];
        insertContent(content: string | Node): void;
        deleteContent(): void;
        updateContent(content: string | Node): void;
        isCaret(): boolean;
        isRange(): boolean;
        isSelectionInDifferentParas(): boolean;
        isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
        convertToContent(node: HTMLElement | Text): string | undefined;
        getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
        getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
        isAllMarkedByAnchor(): boolean;
        addExtraAnchors(data: import("../../..").IAnchor[]): void;
        updateAnchor(anchor: import("../../..").IAnchor): void;
        clearContent(): void;
        insertContentAtCursor(_content: string | string[], callback?: (canInsert: boolean) => void): void;
        clear(): Promise<void>;
        renderHighlight(matchingContent: string): void;
        unrenderHighlight(): void;
        isWordLengthExceeded(): boolean;
    }, {
        highlight: boolean;
        class: string | unknown[];
        disabled: boolean;
        placeholder: string;
        maxLength: number;
        showWordLimit: boolean;
        simple: boolean;
        wordLimitTip: string;
        preTime: string;
        textCount: number;
        listenAnchorId: string;
        listenMode: import("../../..").ListenModeEnum;
        contentStyle: import("vue").CSSProperties;
        refinable: boolean;
        editorHeight: string | number;
        showPreTime: boolean;
    }>;
    __isFragment?: never;
    __isTeleport?: never;
    __isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
    preTime: {
        type: StringConstructor;
        default: string;
    };
    textCount: {
        type: NumberConstructor;
        default: number;
    };
    highlight: {
        type: BooleanConstructor;
        default: undefined;
    };
    listenAnchorId: {
        type: StringConstructor;
        default: string;
    };
    listenMode: {
        type: import("vue").PropType<import("../../..").ListenModeEnum>;
        default: string;
    };
    placeholder: {
        type: StringConstructor;
        default: string;
    };
    simple: {
        type: BooleanConstructor;
        default: boolean;
    };
    maxLength: {
        type: NumberConstructor;
        default: number;
    };
    showWordLimit: {
        type: BooleanConstructor;
        default: boolean;
    };
    disabled: {
        type: BooleanConstructor;
        default: boolean;
    };
    class: {
        type: (ArrayConstructor | StringConstructor)[];
        default: () => never[];
    };
    contentStyle: {
        type: import("vue").PropType<import("vue").CSSProperties>;
        default: () => {};
    };
    refinable: {
        type: BooleanConstructor;
        default: boolean;
    };
    refineContext: {
        type: import("vue").PropType<import("./context").RefineContext>;
    };
    editorHeight: {
        type: (StringConstructor | NumberConstructor)[];
        default: string;
    };
    showPreTime: {
        type: BooleanConstructor;
        default: boolean;
    };
    wordLimitTip: {
        type: StringConstructor;
        default: string;
    };
}>> & Readonly<{
    onChange?: ((contentLength: number) => any) | undefined;
    onClear?: (() => any) | undefined;
    "onUpdate:textCount"?: ((value: number) => any) | undefined;
    onAnchorListen?: ((value: import("../../..").IAnchor, text: string) => any) | undefined;
    onAnchorRemove?: ((value: import("../../..").IAnchor) => any) | undefined;
    onAnchorListenStop?: ((value: import("../../..").IAnchor) => any) | undefined;
}>, {
    action: import("vue").Ref<import("../../hooks/use-editor").EditorAction | undefined, import("../../hooks/use-editor").EditorAction | undefined>;
    innerRender: () => import("vue/jsx-runtime").JSX.Element;
    innerGetContent: (_options?: import("./context").ContentOptions) => string;
    innerSetContent: (content: string) => Promise<void>;
    innerSetMarkdown: (markdown: string) => Promise<void>;
    innerAppendMarkdown: (markdown: string) => Promise<void>;
    innerGetMarkdownContent: () => string;
    innerAppendContent: (content: string | string[]) => Promise<void>;
    innerGetTextContent: () => string[];
    innerInsertContent: (content: string | Node) => void;
    innerDeleteContent: () => void;
    innerUpdateContent: (content: string | Node) => void;
    innerIsCaret: () => boolean;
    innerIsRange: () => boolean;
    innerIsSelectionInDifferentParas: () => boolean;
    innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
    innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
    innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
    innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
    innerIsAllMarkedByAnchor: () => boolean;
    innerAddExtraAnchors: (data: import("../../..").IAnchor[]) => void;
    innerUpdateAnchor: (newAnchor: import("../../..").IAnchor) => void;
    innerClearContent: () => void;
    innerInsertContentAtCursor: (_content: string | string[], func?: (canInsert: boolean) => void) => void;
    innerRenderHightlight: (matchingContent: string) => void;
    innerUnrenderHightlight: () => void;
    innerIsWordLengthExceeded: () => boolean;
}, {}, {}, {
    getContent(options?: import("./context").ContentOptions): string;
    getHtml(options: import("./context").ContentOptions): string;
    setContent(content: string): Promise<void>;
    setHtml(content: string): Promise<void>;
    setMarkdown(markdown: string): Promise<void>;
    appendMarkdown(markdown: string): Promise<void>;
    getMarkdownContent(): string;
    appendContent(content: string | string[]): Promise<void>;
    getTextContent(): string[];
    insertContent(content: string | Node): void;
    deleteContent(): void;
    updateContent(content: string | Node): void;
    isCaret(): boolean;
    isRange(): boolean;
    isSelectionInDifferentParas(): boolean;
    isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
    convertToContent(node: HTMLElement | Text): string | undefined;
    getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
    getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
    isAllMarkedByAnchor(): boolean;
    addExtraAnchors(data: import("../../..").IAnchor[]): void;
    updateAnchor(anchor: import("../../..").IAnchor): void;
    clearContent(): void;
    insertContentAtCursor(_content: string | string[], callback?: (canInsert: boolean) => void): void;
    clear(): Promise<void>;
    renderHighlight(matchingContent: string): void;
    unrenderHighlight(): void;
    isWordLengthExceeded(): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    change: (contentLength: number) => true;
    'update:textCount': (value: number) => true;
    anchorListen: (value: import("../../..").IAnchor, text: string) => true;
    anchorListenStop: (value: import("../../..").IAnchor) => true;
    anchorRemove: (value: import("../../..").IAnchor) => true;
    clear: () => true;
}, string, {
    highlight: boolean;
    class: string | unknown[];
    disabled: boolean;
    placeholder: string;
    maxLength: number;
    showWordLimit: boolean;
    simple: boolean;
    wordLimitTip: string;
    preTime: string;
    textCount: number;
    listenAnchorId: string;
    listenMode: import("../../..").ListenModeEnum;
    contentStyle: import("vue").CSSProperties;
    refinable: boolean;
    editorHeight: string | number;
    showPreTime: boolean;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
    install: (app: App, options?: Record<string, any>) => void;
};
export type EditorContainerInstance = InstanceType<typeof _EditorContainer>;
export default EditorContainer;
