/** Round `n` up to the next power of two. * * Alias for `nextPowerOfTwo` — provided for clarity at texture-sizing call * sites where the direction is important. */ export declare function ceilPowerOfTwo(n: number): number; /** Round `n` down to the previous power of two. * * Alias for `previousPowerOfTwo` — provided for clarity at texture-sizing * call sites where the direction is important. */ export declare function floorPowerOfTwo(n: number): number; /** Quantize `value` into `steps` equal buckets over `[min, max]`. * * Returns a value snapped to one of `steps + 1` evenly-spaced values between * `min` and `max`. When `steps <= 0` the result is `min`. When `min === max` * the result is `min`. * * ```ts * quantize(0.7, 4, 0, 1) // 0.75 (nearest of 0, 0.25, 0.5, 0.75, 1.0) * ``` */ export declare function quantize(value: number, steps: number, min: number, max: number): number; /** Zero-aware sign: returns `1` for positive, `-1` for negative, `0` for zero. * * Unlike `Math.sign`, this is explicit about the zero-aware contract, and the * name makes intent clear at call sites in animation and physics code. */ export declare function sign(value: number): number; //# sourceMappingURL=scalar.d.ts.map