import type { InjectionKey, PropType } from 'vue'; import type { AffixProps } from './../../affix'; type containerType = string | (() => HTMLElement | Window); export declare const anchorProps: { affix: { type: BooleanConstructor; default: boolean; }; affixProps: { type: PropType; }; bounds: { type: NumberConstructor; default: number; }; container: { type: PropType; }; targetOffset: { type: NumberConstructor; default: number; }; }; export declare const anchorLinkProps: { href: { type: StringConstructor; default: string; }; title: { type: StringConstructor; default: string; }; }; export declare const anchorKey: InjectionKey<{ active: string; registerLink: (link: string) => void; unregisterLink: (link: string) => void; handleScrollTo: (link: string) => void; handleLinkClick: (link: { href: string; title: string; e: MouseEvent; }) => void; }>; export declare function getOffsetTop(target: HTMLElement, container: Window | HTMLElement | Document | undefined): number; export declare function isWindow(obj: any): boolean; export declare function getScroll(target: HTMLElement | Window | Document | undefined, top?: boolean): number; interface ScrollToOptions { /** Scroll container, default as window */ getContainer?: HTMLElement | Window | Document | undefined; /** Scroll end callback */ callback?: () => any; /** Animation duration, default as 450 */ duration?: number; } export declare function scrollTo(y: number, options?: ScrollToOptions): void; export {};