import { Component, MaybeRefOrGetter, ShallowRef } from 'vue'; import { PresetConfig } from './types'; export interface UseVueMarkOptions { customPresets?: Partial; globalPrefix?: string; dealWithTextNodes?: boolean; debug?: boolean; slugify?: (text: string) => string; } export interface VueMarkToc { /** * Heading level */ level: 1 | 2 | 3 | 4 | 5 | 6; /** * Heading title */ title: string; /** * Heading slug */ slug: string; } export interface UseVueMarkReturn { toc: ShallowRef; hasFootnote: ShallowRef; frontmatter: ShallowRef; VueMarkContent: Component; FootnoteContent: Component; } export declare function useVueMark(value: MaybeRefOrGetter, options?: UseVueMarkOptions): UseVueMarkReturn;