/** Clamp a value to ensure it falls within a given range. */ export declare function clamp(value: number, max: number, min?: number): number;