import { App } from 'vue'; import NormalToolbar from './extensions/NormalToolbar'; import DropdownToolbar from './extensions/DropdownToolbar'; import MdCatalog from './extensions/MdCatalog'; import ModalToolbar from './extensions/ModalToolbar'; import { config } from './config'; declare const _default: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ pageFullscreen: boolean; preview: boolean; htmlPreview: boolean; modelValue: string; theme: import("./type").Themes; class: string; historyLength: number; previewOnly: boolean; language: string; toolbars: import("./type").ToolbarNames[]; toolbarsExclude: import("./type").ToolbarNames[]; noPrettier: boolean; editorId: string; tabWidth: number; showCodeRowNumber: boolean; previewTheme: string; style: string | import("vue").CSSProperties; markedHeadingId: import("./type").MarkedHeadingId; tableShape: number[]; noMermaid: boolean; sanitize: (html: string) => string; placeholder: string; noKatex: boolean; codeTheme: string; footers: import("./type").Footers[]; scrollAuto: boolean; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; }> & Omit; default: string; }; theme: { type: import("vue").PropType; default: string; }; class: { type: StringConstructor; default: string; }; historyLength: { type: import("vue").PropType; default: number; }; onChange: { type: import("vue").PropType; }; onSave: { type: import("vue").PropType; }; onUploadImg: { type: import("vue").PropType; }; pageFullscreen: { type: import("vue").PropType; default: boolean; }; preview: { type: import("vue").PropType; default: boolean; }; htmlPreview: { type: import("vue").PropType; default: boolean; }; previewOnly: { type: import("vue").PropType; default: boolean; }; language: { type: import("vue").PropType; default: string; }; toolbars: { type: import("vue").PropType; default: string[]; }; toolbarsExclude: { type: import("vue").PropType; default: never[]; }; noPrettier: { type: import("vue").PropType; default: boolean; }; onHtmlChanged: { type: import("vue").PropType; }; onGetCatalog: { type: import("vue").PropType; }; editorId: { type: import("vue").PropType; default: string; }; tabWidth: { type: import("vue").PropType; default: number; }; showCodeRowNumber: { type: import("vue").PropType; default: boolean; }; previewTheme: { type: import("vue").PropType; default: string; }; style: { type: import("vue").PropType; default: () => {}; }; markedHeadingId: { type: import("vue").PropType; default: import("./type").MarkedHeadingId; }; tableShape: { type: import("vue").PropType; default: () => number[]; }; noMermaid: { type: import("vue").PropType; default: boolean; }; sanitize: { type: import("vue").PropType<(html: string) => string>; default: (html: string) => string; }; placeholder: { type: import("vue").PropType; default: string; }; noKatex: { type: import("vue").PropType; default: boolean; }; defToolbars: { type: import("vue").PropType; }; onError: { type: import("vue").PropType; }; codeTheme: { type: import("vue").PropType; default: string; }; footers: { type: import("vue").PropType; default: import("./type").Footers[]; }; scrollAuto: { type: import("vue").PropType; default: boolean; }; defFooters: { type: import("vue").PropType; }; noIconfont: { type: import("vue").PropType; }; formatCopiedText: { type: import("vue").PropType<(text: string) => string>; default: (text: string) => string; }; noUploadImg: { type: import("vue").PropType; }; codeStyleReverse: { type: import("vue").PropType; default: boolean; }; codeStyleReverseList: { type: import("vue").PropType; default: string[]; }; autoFocus: { type: import("vue").PropType; }; disabled: { type: import("vue").PropType; }; readOnly: { type: import("vue").PropType; }; maxLength: { type: import("vue").PropType; }; autoDetectCode: { type: import("vue").PropType; }; }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "pageFullscreen" | "preview" | "htmlPreview" | "modelValue" | "theme" | "class" | "historyLength" | "previewOnly" | "language" | "toolbars" | "toolbarsExclude" | "noPrettier" | "editorId" | "tabWidth" | "showCodeRowNumber" | "previewTheme" | "style" | "markedHeadingId" | "tableShape" | "noMermaid" | "sanitize" | "placeholder" | "noKatex" | "codeTheme" | "footers" | "scrollAuto" | "formatCopiedText" | "codeStyleReverse" | "codeStyleReverseList">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null; $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void); $el: any; $options: import("vue").ComponentOptionsBase; default: string; }; theme: { type: import("vue").PropType; default: string; }; class: { type: StringConstructor; default: string; }; historyLength: { type: import("vue").PropType; default: number; }; onChange: { type: import("vue").PropType; }; onSave: { type: import("vue").PropType; }; onUploadImg: { type: import("vue").PropType; }; pageFullscreen: { type: import("vue").PropType; default: boolean; }; preview: { type: import("vue").PropType; default: boolean; }; htmlPreview: { type: import("vue").PropType; default: boolean; }; previewOnly: { type: import("vue").PropType; default: boolean; }; language: { type: import("vue").PropType; default: string; }; toolbars: { type: import("vue").PropType; default: string[]; }; toolbarsExclude: { type: import("vue").PropType; default: never[]; }; noPrettier: { type: import("vue").PropType; default: boolean; }; onHtmlChanged: { type: import("vue").PropType; }; onGetCatalog: { type: import("vue").PropType; }; editorId: { type: import("vue").PropType; default: string; }; tabWidth: { type: import("vue").PropType; default: number; }; showCodeRowNumber: { type: import("vue").PropType; default: boolean; }; previewTheme: { type: import("vue").PropType; default: string; }; style: { type: import("vue").PropType; default: () => {}; }; markedHeadingId: { type: import("vue").PropType; default: import("./type").MarkedHeadingId; }; tableShape: { type: import("vue").PropType; default: () => number[]; }; noMermaid: { type: import("vue").PropType; default: boolean; }; sanitize: { type: import("vue").PropType<(html: string) => string>; default: (html: string) => string; }; placeholder: { type: import("vue").PropType; default: string; }; noKatex: { type: import("vue").PropType; default: boolean; }; defToolbars: { type: import("vue").PropType; }; onError: { type: import("vue").PropType; }; codeTheme: { type: import("vue").PropType; default: string; }; footers: { type: import("vue").PropType; default: import("./type").Footers[]; }; scrollAuto: { type: import("vue").PropType; default: boolean; }; defFooters: { type: import("vue").PropType; }; noIconfont: { type: import("vue").PropType; }; formatCopiedText: { type: import("vue").PropType<(text: string) => string>; default: (text: string) => string; }; noUploadImg: { type: import("vue").PropType; }; codeStyleReverse: { type: import("vue").PropType; default: boolean; }; codeStyleReverseList: { type: import("vue").PropType; default: string[]; }; autoFocus: { type: import("vue").PropType; }; disabled: { type: import("vue").PropType; }; readOnly: { type: import("vue").PropType; }; maxLength: { type: import("vue").PropType; }; autoDetectCode: { type: import("vue").PropType; }; }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, { pageFullscreen: boolean; preview: boolean; htmlPreview: boolean; modelValue: string; theme: import("./type").Themes; class: string; historyLength: number; previewOnly: boolean; language: string; toolbars: import("./type").ToolbarNames[]; toolbarsExclude: import("./type").ToolbarNames[]; noPrettier: boolean; editorId: string; tabWidth: number; showCodeRowNumber: boolean; previewTheme: string; style: string | import("vue").CSSProperties; markedHeadingId: import("./type").MarkedHeadingId; tableShape: number[]; noMermaid: boolean; sanitize: (html: string) => string; placeholder: string; noKatex: boolean; codeTheme: string; footers: import("./type").Footers[]; scrollAuto: boolean; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; }> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle; } & Readonly; default: string; }; theme: { type: import("vue").PropType; default: string; }; class: { type: StringConstructor; default: string; }; historyLength: { type: import("vue").PropType; default: number; }; onChange: { type: import("vue").PropType; }; onSave: { type: import("vue").PropType; }; onUploadImg: { type: import("vue").PropType; }; pageFullscreen: { type: import("vue").PropType; default: boolean; }; preview: { type: import("vue").PropType; default: boolean; }; htmlPreview: { type: import("vue").PropType; default: boolean; }; previewOnly: { type: import("vue").PropType; default: boolean; }; language: { type: import("vue").PropType; default: string; }; toolbars: { type: import("vue").PropType; default: string[]; }; toolbarsExclude: { type: import("vue").PropType; default: never[]; }; noPrettier: { type: import("vue").PropType; default: boolean; }; onHtmlChanged: { type: import("vue").PropType; }; onGetCatalog: { type: import("vue").PropType; }; editorId: { type: import("vue").PropType; default: string; }; tabWidth: { type: import("vue").PropType; default: number; }; showCodeRowNumber: { type: import("vue").PropType; default: boolean; }; previewTheme: { type: import("vue").PropType; default: string; }; style: { type: import("vue").PropType; default: () => {}; }; markedHeadingId: { type: import("vue").PropType; default: import("./type").MarkedHeadingId; }; tableShape: { type: import("vue").PropType; default: () => number[]; }; noMermaid: { type: import("vue").PropType; default: boolean; }; sanitize: { type: import("vue").PropType<(html: string) => string>; default: (html: string) => string; }; placeholder: { type: import("vue").PropType; default: string; }; noKatex: { type: import("vue").PropType; default: boolean; }; defToolbars: { type: import("vue").PropType; }; onError: { type: import("vue").PropType; }; codeTheme: { type: import("vue").PropType; default: string; }; footers: { type: import("vue").PropType; default: import("./type").Footers[]; }; scrollAuto: { type: import("vue").PropType; default: boolean; }; defFooters: { type: import("vue").PropType; }; noIconfont: { type: import("vue").PropType; }; formatCopiedText: { type: import("vue").PropType<(text: string) => string>; default: (text: string) => string; }; noUploadImg: { type: import("vue").PropType; }; codeStyleReverse: { type: import("vue").PropType; default: boolean; }; codeStyleReverseList: { type: import("vue").PropType; default: string[]; }; autoFocus: { type: import("vue").PropType; }; disabled: { type: import("vue").PropType; }; readOnly: { type: import("vue").PropType; }; maxLength: { type: import("vue").PropType; }; autoDetectCode: { type: import("vue").PropType; }; }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase; default: string; }; theme: { type: import("vue").PropType; default: string; }; class: { type: StringConstructor; default: string; }; historyLength: { type: import("vue").PropType; default: number; }; onChange: { type: import("vue").PropType; }; onSave: { type: import("vue").PropType; }; onUploadImg: { type: import("vue").PropType; }; pageFullscreen: { type: import("vue").PropType; default: boolean; }; preview: { type: import("vue").PropType; default: boolean; }; htmlPreview: { type: import("vue").PropType; default: boolean; }; previewOnly: { type: import("vue").PropType; default: boolean; }; language: { type: import("vue").PropType; default: string; }; toolbars: { type: import("vue").PropType; default: string[]; }; toolbarsExclude: { type: import("vue").PropType; default: never[]; }; noPrettier: { type: import("vue").PropType; default: boolean; }; onHtmlChanged: { type: import("vue").PropType; }; onGetCatalog: { type: import("vue").PropType; }; editorId: { type: import("vue").PropType; default: string; }; tabWidth: { type: import("vue").PropType; default: number; }; showCodeRowNumber: { type: import("vue").PropType; default: boolean; }; previewTheme: { type: import("vue").PropType; default: string; }; style: { type: import("vue").PropType; default: () => {}; }; markedHeadingId: { type: import("vue").PropType; default: import("./type").MarkedHeadingId; }; tableShape: { type: import("vue").PropType; default: () => number[]; }; noMermaid: { type: import("vue").PropType; default: boolean; }; sanitize: { type: import("vue").PropType<(html: string) => string>; default: (html: string) => string; }; placeholder: { type: import("vue").PropType; default: string; }; noKatex: { type: import("vue").PropType; default: boolean; }; defToolbars: { type: import("vue").PropType; }; onError: { type: import("vue").PropType; }; codeTheme: { type: import("vue").PropType; default: string; }; footers: { type: import("vue").PropType; default: import("./type").Footers[]; }; scrollAuto: { type: import("vue").PropType; default: boolean; }; defFooters: { type: import("vue").PropType; }; noIconfont: { type: import("vue").PropType; }; formatCopiedText: { type: import("vue").PropType<(text: string) => string>; default: (text: string) => string; }; noUploadImg: { type: import("vue").PropType; }; codeStyleReverse: { type: import("vue").PropType; default: boolean; }; codeStyleReverseList: { type: import("vue").PropType; default: string[]; }; autoFocus: { type: import("vue").PropType; }; disabled: { type: import("vue").PropType; }; readOnly: { type: import("vue").PropType; }; maxLength: { type: import("vue").PropType; }; autoDetectCode: { type: import("vue").PropType; }; }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "onChange" | "onSave" | "onUploadImg" | "onHtmlChanged" | "onGetCatalog" | "onError" | "update:modelValue", { pageFullscreen: boolean; preview: boolean; htmlPreview: boolean; modelValue: string; theme: import("./type").Themes; class: string; historyLength: number; previewOnly: boolean; language: string; toolbars: import("./type").ToolbarNames[]; toolbarsExclude: import("./type").ToolbarNames[]; noPrettier: boolean; editorId: string; tabWidth: number; showCodeRowNumber: boolean; previewTheme: string; style: string | import("vue").CSSProperties; markedHeadingId: import("./type").MarkedHeadingId; tableShape: number[]; noMermaid: boolean; sanitize: (html: string) => string; placeholder: string; noKatex: boolean; codeTheme: string; footers: import("./type").Footers[]; scrollAuto: boolean; formatCopiedText: (text: string) => string; codeStyleReverse: boolean; codeStyleReverseList: string[]; }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & { /** * 默认工具栏组件 */ readonly NormalToolbar: typeof NormalToolbar; /** * 下拉菜单工具栏组件 */ readonly DropdownToolbar: typeof DropdownToolbar; /** * 目录组件 */ readonly MdCatalog: typeof MdCatalog; /** * 弹窗工具栏组件 */ readonly ModalToolbar: typeof ModalToolbar; /** * 配置编辑器全局内容 */ readonly config: typeof config; install: (app: App) => App; }; export default _default; export * from './type';