type TocHeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; interface TocItem { children: TocItem[]; depth: number; key: string; tag: TocHeadingTag; title: string; } interface TocPluginOptions { maxDepth?: number; minDepth?: number; } type TocScrollBehavior = 'auto' | 'instant' | 'smooth'; type TocScrollLogicalPosition = 'center' | 'end' | 'nearest' | 'start'; interface TocJumpOptions { behavior?: TocScrollBehavior; block?: TocScrollLogicalPosition; container?: HTMLElement | Window | null; offsetTop?: number; } export { TocHeadingTag, TocItem, TocJumpOptions, TocPluginOptions, TocScrollBehavior, TocScrollLogicalPosition };