import type { PropType } from 'vue'; import type { MarkdownMode, Theme, Frontmatter, EmitUpdatePayload } from '../../types'; declare var __VLS_14: {}, __VLS_17: { cancel: () => void; save: () => void; }, __VLS_35: { download: (() => void) | undefined; edit: (() => void) | undefined; }, __VLS_37: { download: () => void; }, __VLS_52: { edit: () => void; }; type __VLS_Slots = {} & { 'toolbar-right'?: (props: typeof __VLS_14) => any; } & { 'editor-actions'?: (props: typeof __VLS_17) => any; } & { 'content-actions'?: (props: typeof __VLS_35) => any; } & { download?: (props: typeof __VLS_37) => any; } & { edit?: (props: typeof __VLS_52) => any; }; declare const __VLS_base: import("vue").DefineComponent; default: string; validator: (mode: string) => boolean; }; /** The number of spaces to insert on tab. Defaults to 2, max of 6 */ tabSize: { type: NumberConstructor; default: number; validator: (size: number) => boolean; }; /** The theme used when the component initializes, one of 'light' or 'dark'. Defaults to the user's browser's preferred color scheme. */ theme: { type: PropType; default: string; validator: (theme: string) => boolean; }; /** The max height of the component when not being displayed fullscreen. Defaults to 300, Minimum of 100. */ maxHeight: { type: NumberConstructor; default: number; validator: (height: number) => boolean; }; /** When the editor is in fullscreen, the top offset, in pixels */ fullscreenOffsetTop: { type: NumberConstructor; default: number; }; /** The z-index of the position:fixed container when in fullscreen. */ fullscreenZIndex: { type: NumberConstructor; default: number; }; }>, { download: () => void; edit: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { mode: (mode: MarkdownMode) => any; fullscreen: (active: boolean) => any; "update:modelValue": (rawMarkdown: string) => any; "update:frontmatter": (frontmatter: Frontmatter | undefined) => any; save: (args_0: EmitUpdatePayload) => any; cancel: () => any; }, string, import("vue").PublicProps, Readonly; default: string; validator: (mode: string) => boolean; }; /** The number of spaces to insert on tab. Defaults to 2, max of 6 */ tabSize: { type: NumberConstructor; default: number; validator: (size: number) => boolean; }; /** The theme used when the component initializes, one of 'light' or 'dark'. Defaults to the user's browser's preferred color scheme. */ theme: { type: PropType; default: string; validator: (theme: string) => boolean; }; /** The max height of the component when not being displayed fullscreen. Defaults to 300, Minimum of 100. */ maxHeight: { type: NumberConstructor; default: number; validator: (height: number) => boolean; }; /** When the editor is in fullscreen, the top offset, in pixels */ fullscreenOffsetTop: { type: NumberConstructor; default: number; }; /** The z-index of the position:fixed container when in fullscreen. */ fullscreenZIndex: { type: NumberConstructor; default: number; }; }>> & Readonly<{ onMode?: ((mode: MarkdownMode) => any) | undefined; onFullscreen?: ((active: boolean) => any) | undefined; "onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined; "onUpdate:frontmatter"?: ((frontmatter: Frontmatter | undefined) => any) | undefined; onSave?: ((args_0: EmitUpdatePayload) => any) | undefined; onCancel?: (() => any) | undefined; }>, { editable: boolean; mode: MarkdownMode; theme: Theme; modelValue: string; downloadable: boolean; filename: string; tabSize: number; maxHeight: number; fullscreenOffsetTop: number; fullscreenZIndex: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };