import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import type { InjectionKey } from 'vue'; import type { Language } from '@deot/docs-locale'; import type { PlaygroundExpandable } from '@deot/docs-playground'; import type { PlaygroundFiles } from '@deot/docs-playground'; import type { PlaygroundOptions } from '@deot/docs-playground'; import type { PlaygroundPreviewInset } from '@deot/docs-playground'; import type { PlaygroundPreviewOptions } from '@deot/docs-playground'; import type { PlaygroundPreviewScroller } from '@deot/docs-playground'; import type { PlaygroundView } from '@deot/docs-playground'; import type { PlaygroundViewport } from '@deot/docs-playground'; import { PublicProps } from 'vue'; declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (value: string) => any; "update:modelValue": (value: string) => any; }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{ onChange?: ((value: string) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; }>, { playground: MarkdownPlaygroundConfig; indicator: MarkdownIndicatorConfig; theme: MarkdownTheme; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; declare type __VLS_Props = { indicator?: MarkdownIndicatorConfig; locale?: Language; theme?: MarkdownTheme; playground?: MarkdownPlaygroundConfig; tabQuery?: MarkdownTabQueryAdapter; modelValue?: string; value?: string; }; export declare const collectMarkdownHeadings: (root: ParentNode | null | undefined) => MarkdownHeading[]; export declare const createHistoryTabQueryAdapter: () => MarkdownTabQueryAdapter; export declare const getMarkdownHeadingTitle: (element: HTMLElement) => string; export declare const Markdown: typeof __VLS_export; export declare interface MarkdownHeading { element: HTMLElement; id: string; level: number; text: string; } export declare type MarkdownIndicatorConfig = boolean | MarkdownIndicatorOptions; export declare interface MarkdownIndicatorOptions { draggable?: boolean; height?: number | string; preview?: boolean; position?: 'left' | 'right'; top?: number | string; } export declare interface MarkdownPlaygroundConfig { entry?: string; title?: string; id?: string; views?: PlaygroundView[]; viewport?: PlaygroundViewport; viewportOptions?: PlaygroundViewport[]; styleless?: boolean; options?: PlaygroundOptions; previewInset?: PlaygroundPreviewInset; expandable?: PlaygroundExpandable; previewScroller?: PlaygroundPreviewScroller; previewOptions?: PlaygroundPreviewOptions; } declare interface MarkdownPlaygroundFilesMount { files: PlaygroundFiles; entry?: string; } declare interface MarkdownPlaygroundModelMount { modelValue?: string; } export declare type MarkdownPlaygroundMountProps = MarkdownPlaygroundFilesMount | MarkdownPlaygroundModelMount; export declare interface MarkdownSearchDocument { title: string; text: string; sections: MarkdownSearchSection[]; } export declare interface MarkdownSearchSection { title: string; anchor: string; level: number; text: string; } export declare interface MarkdownTabQueryAdapter { get: () => string; set: (tab: string) => void; subscribe?: (listener: () => void) => () => void; } export declare const markdownTabQueryKey: InjectionKey; export declare type MarkdownTheme = 'default' | 'traditional'; export declare const parseMarkdownSearchSections: (content: string) => MarkdownSearchDocument; export declare const toMarkdownTabId: (title: string) => string; export { }