declare function clamp(value: number, [min, max]: [number, number]): number; export { clamp };