declare function clamp(x: number, lower: number, upper: number): number; export = clamp;