import { VtsSafeAny } from '@ui-vts-kit/ng-vts/core/types'; import * as i0 from "@angular/core"; export type EasyingFn = (t: number, b: number, c: number, d: number) => number; export interface VtsScrollToOptions { /** Scroll container, default as window */ easing?: EasyingFn; /** Scroll end callback */ callback?(): void; /** Animation duration, default as 450 */ duration?: number; } export declare class VtsScrollService { private doc; constructor(doc: VtsSafeAny); /** Set the position of the scroll bar of `el`. */ setScrollTop(el: Element | Window, topValue?: number): void; /** Get position of `el` against window. */ getOffset(el: Element): { top: number; left: number; }; /** Get the position of the scoll bar of `el`. */ getScroll(target?: Element | HTMLElement | Window | Document | null, top?: boolean): number; isWindow(obj: VtsSafeAny): boolean; /** * Scroll `el` to some position with animation. * * @param containerEl container, `window` by default * @param y Scroll to `top`, 0 by default */ scrollTo(containerEl?: Element | HTMLElement | Window | Document | null, y?: number, options?: VtsScrollToOptions): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }