export default function clamp(b1: number, n: number, b2: number): number