export interface ScrollspyOptions { offset: number; method: 'auto' | 'offset' | 'position'; rootMargin: string; smoothScroll: boolean; target: string | Element | JQuery; threshold?: number[] | string; } export interface ScrollspyInstance { refresh(): void; dispose(): void; } declare enum ScrollspyEvents { activate = "activate.bs.scrollspy" } export interface ScrollspyClass { readonly VERSION: string; readonly DATA_KEY: string; readonly EVENT_KEY: string; new (element: string | Element, options?: Partial): ScrollspyInstance; getInstance(element: string | Element): ScrollspyInstance | null; getOrCreateInstance(element: string | Element, config?: Partial): ScrollspyInstance; Default: ScrollspyOptions; Events: typeof ScrollspyEvents; } declare const Scrollspy: ScrollspyClass; export default Scrollspy; //# sourceMappingURL=scrollspy.d.ts.map