import type { UploadImgEvent } from 'md-editor-v3'; import type { QdMdEditorProps } from './types'; declare var __VLS_8: string | number, __VLS_9: any; type __VLS_Slots = {} & { [K in NonNullable]?: (props: typeof __VLS_9) => any; }; declare const __VLS_component: import("vue").DefineComponent void; onFocus: (event: FocusEvent) => void; onBlur: (event: FocusEvent) => void; onChange: import("md-editor-v3").ChangeEvent; onInput: (event: Event) => void; onError: import("md-editor-v3").ErrorEvent; preview: boolean; class: string; id: string; pageFullscreen: boolean; htmlPreview: boolean; onSave: import("md-editor-v3").SaveEvent; onUploadImg: import("md-editor-v3/lib/types/MdEditor/type").UploadImgEvent; onHtmlChanged: import("md-editor-v3").HtmlChangedEvent; onGetCatalog: import("md-editor-v3").GetCatalogEvent; oninputBoxWidthChange: (width: string) => void; onRemount: () => void; language: string; toolbars: import("md-editor-v3").ToolbarNames[]; floatingToolbars: import("md-editor-v3").ToolbarNames[]; toolbarsExclude: import("md-editor-v3").ToolbarNames[]; noPrettier: boolean; tabWidth: number; tableShape: number[]; placeholder: string; defToolbars: string | import("vue").VNode; footers: import("md-editor-v3").Footers[]; scrollAuto: boolean; defFooters: string | import("vue").VNode; noUploadImg: boolean; autoFocus: boolean; disabled: boolean; readOnly: boolean; maxLength: number; autoDetectCode: boolean; completions: import("@codemirror/autocomplete").CompletionSource[]; showToolbarName: boolean; inputBoxWidth: string; transformImgUrl: (t: string) => string | Promise; catalogLayout: "flat" | "fixed"; catalogMaxDepth: number; modelValue: string; theme: import("md-editor-v3").Themes; editorId: string; showCodeRowNumber: boolean; previewTheme: string; mdHeadingId: import("md-editor-v3").MdHeadingId; sanitize: (html: string) => string; noMermaid: boolean; noKatex: boolean; codeTheme: string; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; noHighlight: boolean; noImgZoomIn: boolean; customIcon: import("md-editor-v3").CustomIcon; sanitizeMermaid: (h: string) => Promise; codeFoldable: boolean; autoFoldThreshold: number; noEcharts: boolean; previewComponent: import("vue").Component; }> & Omit<{ readonly style: string | import("vue").CSSProperties; readonly theme: import("md-editor-v3").Themes; readonly disabled: boolean; readonly placeholder: string; readonly class: string; readonly modelValue: string; readonly language: string; readonly preview: boolean; readonly pageFullscreen: boolean; readonly htmlPreview: boolean; readonly toolbars: import("md-editor-v3").ToolbarNames[]; readonly floatingToolbars: import("md-editor-v3").ToolbarNames[]; readonly toolbarsExclude: import("md-editor-v3").ToolbarNames[]; readonly tabWidth: number; readonly tableShape: number[]; readonly footers: import("md-editor-v3").Footers[]; readonly scrollAuto: boolean; readonly autoFocus: boolean; readonly autoDetectCode: boolean; readonly showToolbarName: boolean; readonly inputBoxWidth: string; readonly transformImgUrl: (t: string) => string | Promise; readonly catalogLayout: "flat" | "fixed"; readonly showCodeRowNumber: boolean; readonly mdHeadingId: import("md-editor-v3").MdHeadingId; readonly sanitize: (html: string) => string; readonly formatCopiedText: (text: string) => string; readonly codeStyleReverse: boolean; readonly codeStyleReverseList: string[]; readonly customIcon: import("md-editor-v3").CustomIcon; readonly sanitizeMermaid: (h: string) => Promise; readonly codeFoldable: boolean; readonly autoFoldThreshold: number; readonly noPrettier: boolean; readonly noUploadImg: boolean; readonly readOnly: boolean; readonly previewTheme: string; readonly noMermaid: boolean; readonly noKatex: boolean; readonly codeTheme: string; readonly noHighlight: boolean; readonly noImgZoomIn: boolean; readonly noEcharts: boolean; readonly id?: string | undefined; readonly onChange?: import("md-editor-v3").ChangeEvent | undefined; readonly onDrop?: ((event: DragEvent) => void) | undefined; readonly onFocus?: ((event: FocusEvent) => void) | undefined; readonly onBlur?: ((event: FocusEvent) => void) | undefined; readonly onInput?: ((event: Event) => void) | undefined; readonly onError?: import("md-editor-v3").ErrorEvent | undefined; readonly onSave?: import("md-editor-v3").SaveEvent | undefined; readonly onUploadImg?: UploadImgEvent | undefined; readonly defToolbars?: string | import("vue").VNode | undefined; readonly defFooters?: string | import("vue").VNode | undefined; readonly completions?: import("@codemirror/autocomplete").CompletionSource[] | undefined; readonly oninputBoxWidthChange?: ((width: string) => void) | undefined; readonly catalogMaxDepth?: number | undefined; readonly onHtmlChanged?: import("md-editor-v3").HtmlChangedEvent | undefined; readonly onGetCatalog?: import("md-editor-v3").GetCatalogEvent | undefined; readonly onRemount?: (() => void) | undefined; readonly previewComponent?: import("vue").Component | undefined; readonly maxLength?: number | undefined; readonly editorId?: string | undefined; readonly onOnChange?: ((...args: any[]) => any) | undefined | undefined; readonly onOnDrop?: ((...args: any[]) => any) | undefined | undefined; readonly onOnFocus?: ((...args: any[]) => any) | undefined | undefined; readonly onOnBlur?: ((...args: any[]) => any) | undefined | undefined; readonly onOnInput?: ((...args: any[]) => any) | undefined | undefined; readonly onOnError?: ((...args: any[]) => any) | undefined | undefined; readonly onOnSave?: ((...args: any[]) => any) | undefined | undefined; readonly onOnUploadImg?: ((...args: any[]) => any) | undefined | undefined; readonly onOnHtmlChanged?: ((...args: any[]) => any) | undefined | undefined; readonly onOnGetCatalog?: ((...args: any[]) => any) | undefined | undefined; readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined | undefined; readonly onOninputBoxWidthChange?: ((...args: any[]) => any) | undefined | undefined; readonly onOnRemount?: ((...args: any[]) => any) | undefined | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "theme" | "disabled" | "id" | "onChange" | "placeholder" | "class" | "onDrop" | "onFocus" | "onBlur" | "onInput" | "onError" | "modelValue" | "language" | "preview" | "pageFullscreen" | "htmlPreview" | "onSave" | "onUploadImg" | "toolbars" | "floatingToolbars" | "toolbarsExclude" | "tabWidth" | "tableShape" | "defToolbars" | "footers" | "scrollAuto" | "defFooters" | "autoFocus" | "autoDetectCode" | "completions" | "showToolbarName" | "inputBoxWidth" | "oninputBoxWidthChange" | "transformImgUrl" | "catalogLayout" | "catalogMaxDepth" | "onHtmlChanged" | "onGetCatalog" | "showCodeRowNumber" | "mdHeadingId" | "sanitize" | "formatCopiedText" | "codeStyleReverse" | "codeStyleReverseList" | "customIcon" | "sanitizeMermaid" | "codeFoldable" | "autoFoldThreshold" | "onRemount" | "previewComponent" | "noPrettier" | "noUploadImg" | "readOnly" | "maxLength" | "editorId" | "previewTheme" | "noMermaid" | "noKatex" | "codeTheme" | "noHighlight" | "noImgZoomIn" | "noEcharts">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance | null; $parent: import("vue").ComponentPublicInstance | null; $host: Element | null; $emit: (event: "onChange" | "onDrop" | "onFocus" | "onBlur" | "onInput" | "onError" | "update:modelValue" | "onSave" | "onUploadImg" | "oninputBoxWidthChange" | "onHtmlChanged" | "onGetCatalog" | "onRemount", ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase; default: undefined; }; onUploadImg: { type: import("vue").PropType; default: undefined; }; pageFullscreen: { type: import("vue").PropType; default: boolean; }; preview: { type: import("vue").PropType; default: boolean; }; htmlPreview: { type: import("vue").PropType; default: boolean; }; toolbars: { type: import("vue").PropType>; default: string[]; }; floatingToolbars: { type: import("vue").PropType>; default: never[]; }; toolbarsExclude: { type: import("vue").PropType>; default: never[]; }; noPrettier: { type: import("vue").PropType; default: boolean; }; tabWidth: { type: import("vue").PropType; default: number; }; tableShape: { type: import("vue").PropType>; default: number[]; }; placeholder: { type: import("vue").PropType; default: string; }; defToolbars: { type: import("vue").PropType; default: undefined; }; onError: { type: import("vue").PropType; default: undefined; }; footers: { type: import("vue").PropType>; default: import("md-editor-v3").Footers[]; }; scrollAuto: { type: import("vue").PropType; default: boolean; }; defFooters: { type: import("vue").PropType; default: undefined; }; noUploadImg: { type: import("vue").PropType; default: boolean; }; autoFocus: { type: import("vue").PropType; default: boolean; }; disabled: { type: import("vue").PropType; default: boolean; }; readOnly: { type: import("vue").PropType; default: boolean; }; maxLength: { type: import("vue").PropType; default: undefined; }; autoDetectCode: { type: import("vue").PropType; default: boolean; }; onBlur: { type: import("vue").PropType<(event: FocusEvent) => void>; default: undefined; }; onFocus: { type: import("vue").PropType<(event: FocusEvent) => void>; default: undefined; }; completions: { type: import("vue").PropType>; default: undefined; }; showToolbarName: { type: import("vue").PropType; default: boolean; }; onInput: { type: import("vue").PropType<(event: Event) => void>; default: undefined; }; onDrop: { type: import("vue").PropType<(event: DragEvent) => void>; default: undefined; }; inputBoxWidth: { type: import("vue").PropType; default: string; }; oninputBoxWidthChange: { type: import("vue").PropType<(width: string) => void>; default: undefined; }; transformImgUrl: { type: import("vue").PropType<(t: string) => string | Promise>; default: (t: string) => string; }; catalogLayout: { type: import("vue").PropType<"fixed" | "flat">; default: string; }; catalogMaxDepth: { type: import("vue").PropType; default: undefined; }; modelValue: { type: import("vue").PropType; default: string; }; onChange: { type: import("vue").PropType; default: undefined; }; theme: { type: import("vue").PropType; default: string; }; class: { type: StringConstructor; default: string; }; language: { type: import("vue").PropType; default: string; }; onHtmlChanged: { type: import("vue").PropType; default: undefined; }; onGetCatalog: { type: import("vue").PropType; default: undefined; }; editorId: { type: import("vue").PropType; default: undefined; }; id: { type: import("vue").PropType; default: undefined; }; showCodeRowNumber: { type: import("vue").PropType; default: boolean; }; previewTheme: { type: import("vue").PropType; default: string; }; style: { type: import("vue").PropType; default: () => {}; }; mdHeadingId: { type: import("vue").PropType; default: import("md-editor-v3").MdHeadingId; }; sanitize: { type: import("vue").PropType<(html: string) => string>; default: (html: string) => string; }; noMermaid: { type: import("vue").PropType; default: boolean; }; noKatex: { type: import("vue").PropType; default: boolean; }; codeTheme: { type: import("vue").PropType; default: string; }; formatCopiedText: { type: import("vue").PropType<(text: string) => string>; default: (text: string) => string; }; codeStyleReverse: { type: import("vue").PropType; default: boolean; }; codeStyleReverseList: { type: import("vue").PropType>; default: string[]; }; noHighlight: { type: import("vue").PropType; default: boolean; }; noImgZoomIn: { type: import("vue").PropType; default: boolean; }; customIcon: { type: import("vue").PropType; default: {}; }; sanitizeMermaid: { type: import("vue").PropType<(h: string) => Promise>; default: (h: string) => Promise; }; codeFoldable: { type: import("vue").PropType; default: boolean; }; autoFoldThreshold: { type: import("vue").PropType; default: number; }; onRemount: { type: import("vue").PropType<() => void>; default: undefined; }; noEcharts: { type: import("vue").PropType; default: boolean; }; previewComponent: { type: import("vue").PropType; default: undefined; }; }>> & Readonly<{ onOnChange?: ((...args: any[]) => any) | undefined; onOnDrop?: ((...args: any[]) => any) | undefined; onOnFocus?: ((...args: any[]) => any) | undefined; onOnBlur?: ((...args: any[]) => any) | undefined; onOnInput?: ((...args: any[]) => any) | undefined; onOnError?: ((...args: any[]) => any) | undefined; onOnSave?: ((...args: any[]) => any) | undefined; onOnUploadImg?: ((...args: any[]) => any) | undefined; onOnHtmlChanged?: ((...args: any[]) => any) | undefined; onOnGetCatalog?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onOninputBoxWidthChange?: ((...args: any[]) => any) | undefined; onOnRemount?: ((...args: any[]) => any) | undefined; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("md-editor-v3").EditorEmits, string, { style: string | import("vue").CSSProperties; onDrop: (event: DragEvent) => void; onFocus: (event: FocusEvent) => void; onBlur: (event: FocusEvent) => void; onChange: import("md-editor-v3").ChangeEvent; onInput: (event: Event) => void; onError: import("md-editor-v3").ErrorEvent; preview: boolean; class: string; id: string; pageFullscreen: boolean; htmlPreview: boolean; onSave: import("md-editor-v3").SaveEvent; onUploadImg: import("md-editor-v3/lib/types/MdEditor/type").UploadImgEvent; onHtmlChanged: import("md-editor-v3").HtmlChangedEvent; onGetCatalog: import("md-editor-v3").GetCatalogEvent; oninputBoxWidthChange: (width: string) => void; onRemount: () => void; language: string; toolbars: import("md-editor-v3").ToolbarNames[]; floatingToolbars: import("md-editor-v3").ToolbarNames[]; toolbarsExclude: import("md-editor-v3").ToolbarNames[]; noPrettier: boolean; tabWidth: number; tableShape: number[]; placeholder: string; defToolbars: string | import("vue").VNode; footers: import("md-editor-v3").Footers[]; scrollAuto: boolean; defFooters: string | import("vue").VNode; noUploadImg: boolean; autoFocus: boolean; disabled: boolean; readOnly: boolean; maxLength: number; autoDetectCode: boolean; completions: import("@codemirror/autocomplete").CompletionSource[]; showToolbarName: boolean; inputBoxWidth: string; transformImgUrl: (t: string) => string | Promise; catalogLayout: "flat" | "fixed"; catalogMaxDepth: number; modelValue: string; theme: import("md-editor-v3").Themes; editorId: string; showCodeRowNumber: boolean; previewTheme: string; mdHeadingId: import("md-editor-v3").MdHeadingId; sanitize: (html: string) => string; noMermaid: boolean; noKatex: boolean; codeTheme: string; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; noHighlight: boolean; noImgZoomIn: boolean; customIcon: import("md-editor-v3").CustomIcon; sanitizeMermaid: (h: string) => Promise; codeFoldable: boolean; autoFoldThreshold: number; noEcharts: boolean; previewComponent: import("vue").Component; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch: any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions) => import("vue").WatchStopHandle; style: string | import("vue").CSSProperties; onDrop: (event: DragEvent) => void; onFocus: (event: FocusEvent) => void; onBlur: (event: FocusEvent) => void; onChange: import("md-editor-v3").ChangeEvent; onInput: (event: Event) => void; onError: import("md-editor-v3").ErrorEvent; preview: boolean; class: string; id: string; pageFullscreen: boolean; htmlPreview: boolean; onSave: import("md-editor-v3").SaveEvent; onUploadImg: import("md-editor-v3/lib/types/MdEditor/type").UploadImgEvent; onHtmlChanged: import("md-editor-v3").HtmlChangedEvent; onGetCatalog: import("md-editor-v3").GetCatalogEvent; oninputBoxWidthChange: (width: string) => void; onRemount: () => void; language: string; toolbars: import("md-editor-v3").ToolbarNames[]; floatingToolbars: import("md-editor-v3").ToolbarNames[]; toolbarsExclude: import("md-editor-v3").ToolbarNames[]; noPrettier: boolean; tabWidth: number; tableShape: number[]; placeholder: string; defToolbars: string | import("vue").VNode; footers: import("md-editor-v3").Footers[]; scrollAuto: boolean; defFooters: string | import("vue").VNode; noUploadImg: boolean; autoFocus: boolean; disabled: boolean; readOnly: boolean; maxLength: number; autoDetectCode: boolean; completions: import("@codemirror/autocomplete").CompletionSource[]; showToolbarName: boolean; inputBoxWidth: string; transformImgUrl: (t: string) => string | Promise; catalogLayout: "flat" | "fixed"; catalogMaxDepth: number; modelValue: string; theme: import("md-editor-v3").Themes; editorId: string; showCodeRowNumber: boolean; previewTheme: string; mdHeadingId: import("md-editor-v3").MdHeadingId; sanitize: (html: string) => string; noMermaid: boolean; noKatex: boolean; codeTheme: string; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; noHighlight: boolean; noImgZoomIn: boolean; customIcon: import("md-editor-v3").CustomIcon; sanitizeMermaid: (h: string) => Promise; codeFoldable: boolean; autoFoldThreshold: number; noEcharts: boolean; previewComponent: import("vue").Component; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onOnChange?: ((...args: any[]) => any) | undefined; onOnDrop?: ((...args: any[]) => any) | undefined; onOnFocus?: ((...args: any[]) => any) | undefined; onOnBlur?: ((...args: any[]) => any) | undefined; onOnInput?: ((...args: any[]) => any) | undefined; onOnError?: ((...args: any[]) => any) | undefined; onOnSave?: ((...args: any[]) => any) | undefined; onOnUploadImg?: ((...args: any[]) => any) | undefined; onOnHtmlChanged?: ((...args: any[]) => any) | undefined; onOnGetCatalog?: ((...args: any[]) => any) | undefined; onOninputBoxWidthChange?: ((...args: any[]) => any) | undefined; onOnRemount?: ((...args: any[]) => any) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (args_0: string | undefined) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((args_0: string | undefined) => any) | undefined; }>, { theme: import("md-editor-v3").Themes; disabled: boolean; readonly: boolean; preview: boolean; floatingToolbars: import("md-editor-v3").ToolbarNames[]; toolbarsExclude: import("md-editor-v3").ToolbarNames[]; disabledPrettier: boolean; tabWidth: number; tableShape: number[]; scrollAuto: boolean; disabledUploadImg: boolean; inputBoxWidth: string; catalogLayout: "fixed" | "flat"; codeStyleReverse: boolean; codeFoldable: boolean; autoFoldThreshold: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };