export interface IScrollspyOptions { ignoreScrollUp?: boolean; } export interface IScrollspy { options?: IScrollspyOptions; destroy(): void; } export interface IBasePlugin { el: E; options?: O; events?: {}; } declare class HSBasePlugin implements IBasePlugin { el: E; options: O; events?: any; constructor(el: E, options: O, events?: any); createCollection(collection: any[] | undefined, element: any): void; fireEvent(evt: string, payload?: any): any; on(evt: string, cb: Function): void; } declare class HSScrollspy extends HSBasePlugin implements IScrollspy { private readonly ignoreScrollUp; private readonly links; private readonly sections; private readonly scrollableId; private readonly scrollable; private isScrollingDown; private lastScrollTop; private onScrollableScrollListener; private onLinkClickListener; constructor(el: HTMLElement, options?: {}); private scrollableScroll; private init; private determineScrollDirection; private linkClick; private update; private scrollTo; destroy(): void; static getInstance(target: HTMLElement, isInstance?: boolean): any; static autoInit(): void; } export { HSScrollspy as default, }; export {};