type Callback = (inViewport: boolean) => void;
/**
 * This function determines whether an element is in the viewport. The callback
 * is batched with other elements that also use this function, in order to improve
 * performance.
 */
export declare function isInViewport(element: Element, callback: Callback): () => void;
export {};