export declare function inRoot(root: Document | HTMLElement, element: HTMLElement): boolean; export declare function elements(root: Document | HTMLElement, selector: string): HTMLElement[]; export declare class Measurements { private values; private get; rect(element: Element): DOMRect; style(element: Element): CSSStyleDeclaration; private isHidden; available(element: HTMLElement): boolean; onScreen(element: HTMLElement): boolean; private visible; } export declare const available: (element: HTMLElement) => boolean; export declare const onScreen: (element: HTMLElement) => boolean; export declare function claimClass(element: HTMLElement, token: string): () => void; export declare class ClassClaims { private claims; sync(wanted: ReadonlyMap>): void; clear(): void; } export declare const classTokens: (value: string | undefined) => string[];