import { Coords, Dims } from "./dom"; export declare function getCurrentScrollOffset(root: Element): Coords; export declare function addScrollOffset(root: Element, coords: Coords): { x: number; y: number; }; export declare function addAppropriateOffset(root: Element, coords: Coords): { x: number; y: number; }; export declare function applyCenterOffset(aCoords: Coords, aDims: Dims, b: Dims): Coords; export declare function centerViewportAroundElements(root: Element, a: HTMLElement, b: HTMLElement, aPosition?: Coords, bPosition?: Coords): Coords; export declare function centerViewportAround(root: Element, coords: Coords, dims: Dims): Coords; export declare function centerViewportAroundElement(root: Element, element: HTMLElement): Coords; export declare function getViewportCenter(root: Element, element?: HTMLElement, atViewportPosition?: Coords): Coords;