import { State } from "./state.js"; import * as cg from "./types.js"; export type Mutation = (state: State) => A; export type AnimVector = cg.NumberQuad; export type AnimVectors = Map; export type AnimFadings = Map; export interface AnimPlan { anims: AnimVectors; fadings: AnimFadings; } export interface AnimCurrent { start: DOMHighResTimeStamp; frequency: cg.KHz; plan: AnimPlan; } export declare const anim: (mutation: Mutation, state: State) => A; export declare function render(mutation: Mutation, state: State): A;