import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter, Ref } from 'vue'; type ScrollspyList = { id: string | null; el: HTMLElement | null; visible: boolean; text: string | null; }[]; interface ScrollspyReturn { current: Readonly>; list: Readonly>; content: Ref; target: Ref; scrollIntoView: (event: MouseEvent) => void; updateList: () => void; cleanup: () => void; } interface ScrollspyOptions { contentQuery: string; targetQuery: string; manual: boolean; root: MaybeRef; rootMargin: string; threshold: number | number[]; watchChanges: boolean; } export declare const useScrollspy: (content: MaybeRefOrGetter, target: MaybeRefOrGetter, options?: Readonly>) => ScrollspyReturn; export {};