/** * Generates a short random ID for hook registration and instance identification. * Format: prefix + 4 hex chars, e.g. "hook_a3f9", "bcjs_1f2e" */ export declare function generateId(prefix?: string): string; /** * Clamps a value between min and max (inclusive). */ export declare function clamp(value: number, min: number, max: number): number; /** * Linear interpolation between a and b at ratio t. */ export declare function lerp(a: number, b: number, t: number): number; /** * Maps a value from [inputMin, inputMax] to [outputMin, outputMax]. */ export declare function mapRange(value: number, inputMin: number, inputMax: number, outputMin: number, outputMax: number): number; /** * Checks if OffscreenCanvas is available in this environment. */ export declare function supportsOffscreenCanvas(): boolean;