import * as React from "react"; export declare function enablePointerOnIFrames(enable: boolean, currentDocument: Document): void; export declare function getElementsByTagName(tag: string, currentDocument: Document): Element[]; export declare let Utils_dragging: boolean; /** pointer movement (px) a press must exceed before it counts as a drag rather than a click */ export declare const DRAG_THRESHOLD = 3; /** * Tracks a pointer drag. Moves are only reported once the pointer has moved by `threshold` px on * either axis; dragEnd/dragCancel receive whether that happened, so a click can be ignored. */ export declare function startDrag(doc: Document, event: React.PointerEvent, drag: (x: number, y: number) => void, dragEnd: (moved: boolean) => void, dragCancel: (moved: boolean) => void, threshold?: number): void; export declare function copyInlineStyles(source: HTMLElement, target: HTMLElement): boolean; export declare function isSafari(): boolean; export declare function getPageMetrics(win?: Window): { scrollTop: number; scrollLeft: number; fullHeight: number; fullWidth: number; viewportHeight: number; viewportWidth: number; };