import type { TocItem, TocProps } from './types'; declare function scrollTo(id: string): boolean; declare const __VLS_template: () => { __VLS_Slots: { item?: (props: { active: boolean; select: (event: PointerEvent) => void; item: TocItem; index: number; depth: number; }) => any; }; }; type __VLS_Slots = ReturnType['__VLS_Slots']; declare const __VLS_base: import("vue").DefineComponent; items: import("vue").ComputedRef; scrollTo: typeof scrollTo; update: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "item-click": (item: TocItem, event: MouseEvent) => any; "active-change": (item: TocItem | null) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onItem-click"?: ((item: TocItem, event: MouseEvent) => any) | undefined; "onActive-change"?: ((item: TocItem | null) => any) | undefined; }>, { data: TocItem[] | null; source: import("../../composables/use-virtual-list.js").VirtualListScrollSource | null; scrollTarget: HTMLElement | null; scrollBehavior: ScrollBehavior; selector: string; offset: number; scrollActiveIntoView: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };