import type { Hsv } from './types'; /** The shader math the Canvas renderers run on the CPU, once per frame. */ export declare const mix: (a: number, b: number, t: number) => number; export declare const fract: (x: number) => number; export declare const clamp: (x: number, low: number, high: number) => number; /** GLSL's smoothstep, evaluated the same with its edges either way round. */ export declare const smoothstep: (edge0: number, edge1: number, x: number) => number; /** HSV, hue a fraction of a turn, into `out` as RGB. */ export declare const hsvToRgb: (hue: number, saturation: number, value: number, out: number[]) => void; /** A palette color as is; dark mode lifts saturation a touch so it stays vivid on black. */ export declare const vivid: (color: Hsv, dark: number, out: number[]) => void; /** Pushes `c` away from its luminance by `amount`; below 1 desaturates. */ export declare const saturate: (c: number[], amount: number) => void; /** * How much the agent is talking, 0 to 1: a slow phrase gate times a faster syllable wobble. The * shader's own envelope, on the same simplex noise, so every renderer and iOS speak alike. * `syllableDepth` is how far the syllables swing it, the shader's 0.45 unless a renderer wants it * calmer. */ export declare const speechEnv: (t: number, syllableDepth?: number) => number; /** `expressivity` from 0 to 2; one that is not a number gets the default, 1. */ export declare const expressivityInput: (expressivity: number | undefined) => number; /** `level` from 0 to 1; one that is not a number counts as no live audio, so it can't stall the motion. */ export declare const audioLevelInput: (level: number | null | undefined) => number | null; //# sourceMappingURL=math.d.ts.map