import { Extent, Position } from './interfaces'; /** * Clamp a value between a minimum and maximum. */ export declare function clamp(value: number, min: number, max: number): number; /** * Check if a value is outside of an extent. */ export declare function outsideExtent(value: Position, extent: Extent): boolean; /** * Get the relative position of the mouse within an element. */ export declare function relativeMousePosition(element: Element, position: Position): { x: number; y: number; }; //# sourceMappingURL=util.d.ts.map