export declare function degToRad(degrees: number): number; /** * Throttles `func` to at most once per animation frame, always invoking it with * the most recent arguments. Keeps high-frequency pointer moves smooth without * dropping the final position. */ export declare function rafThrottle(func: (...args: Args) => void): { (...args: Args): void; cancel(): void; }; export declare function changeToControlAngle(startValue: number, change: number, shiftModifier?: boolean): number; export declare function controlAngleToValue(minValue: number, maxValue: number, controlAngle: number): number; /** * Snaps `value` to the nearest multiple of `step` measured from `minValue`, then * clamps to the range. A falsy `step` leaves the value untouched (continuous). * Rounds to the step's decimal places to avoid floating-point drift (e.g. 0.01). */ export declare function quantize(minValue: number, maxValue: number, step: number, value: number): number; export declare function valueToControlAngle(minValue: number, maxValue: number, value: number): number;