import { Dims, Coords } from "./dom"; export declare function getViewportHeight(root: Element): number; export declare function getViewportWidth(root: Element): number; export declare function getViewportDims(root: Element): Dims; export declare function getViewportScrollHeight(root: Element): number; export declare function getViewportScrollWidth(root: Element): number; export declare function getViewportScrollDims(root: Element): Dims; export declare function getViewportStart(root: Element): Coords; export declare function getViewportEnd(root: Element): Coords; export declare function getViewportScrollStart(root: Element): Coords; export declare function getViewportScrollEnd(root: Element): Coords; export declare function isElementInView(root: Element, element: HTMLElement, atPosition?: Coords, needsAdjusting?: boolean): boolean; export declare function getScrolledViewportPosition(root: Element, scrollDestination: Coords): Coords;