import type { Hsv, VoiceAgentState } from './types'; /** * The four orbits, from the shader's angles: the period of a turn at playback rate 1 (2π over its * share of the orbit spin), its direction, starting angle and distance from the centre in R, and * how long a sway takes in place of the noise that wobbles it. */ export declare const ORBITS: readonly [{ readonly direction: "normal"; readonly distance: 0.4; readonly period: 15; readonly start: 0; readonly sway: 8.3; }, { readonly direction: "reverse"; readonly distance: 0.38; readonly period: 18.5; readonly start: 115; readonly sway: 10.1; }, { readonly direction: "normal"; readonly distance: 0.36; readonly period: 21; readonly start: 57; readonly sway: 9.1; }, { readonly direction: "reverse"; readonly distance: 0.34; readonly period: 24; readonly start: 200; readonly sway: 11.3; }]; type Mass = { color: string; orbit: number; reach: number; weight?: string; }; /** The masses in the order the shader mixes them, each reaching `reach` R. */ export declare const MASSES: Mass[]; /** * The mass that carries the glow's opacity along its orbit: its orbit, reach and peak alpha. The * shader's second, fainter one is left out, as it costs a full layer for little the eye sees. */ export declare const RIDING_BODY: { alpha: number; orbit: number; reach: number; }; /** A mass: its color weighted by the falloff, on its own circle. */ export declare const massBackground: ({ color, reach, weight }: Mass) => string; /** The opacity a mass carries along its orbit: its peak alpha times its falloff. */ export declare const orbitMask: (orbit: number, reach: number, alpha: number) => string; /** How far a mass sits from the centre, as a share of the globe. */ export declare const orbitDistance: (orbit: number) => string; /** * The colors the CSS glow mixes, as the shader derives them from the palette: masses saturated * x1.7, the first color lightened or darkened where the palette has no color of its own, a * near-white tint of it for the base, the halo and a tap's ring. In custom properties for the * stylesheet. */ export declare const cssGlowPalette: (palette: Hsv[], dark: number) => Record; /** * Playback rates per state, from the driver's motion: `orbit` how fast the masses turn, `flow` * the slow turn of thinking, `tempo` everything else. */ export declare const CSS_GLOW_RATES: Record; /** Which rate an animation of the stylesheet plays at, or null for one-off animations. */ export declare const cssGlowRateKind: (animationName: string) => "flow" | "orbit" | "tempo" | null; export {}; //# sourceMappingURL=cssGlow.d.ts.map