import { Integrator, IntegratorState } from './types'; export interface LinearIntegratorConfig { /** Wall-clock duration, in seconds, the integrator should take to traverse * its full range. The simulation steps at FRAME_TIME (1/60s) and accumulates * position linearly until it crosses the target. */ durationSec: number; } /** * Constant-velocity integrator. * * Useful when the curve isn't physical — e.g. a pre-baked multi-spring * timeline is being replayed through `WebAnimation`'s style function. The * style function gets `t ∈ [0,1]` evolving linearly over `durationSec`, then * looks up the baked frame data. The visible curve still comes from the bake; * the integrator is just driving the clock. */ export declare class LinearIntegrator implements Integrator { private durationSec; constructor(config: LinearIntegratorConfig); step(state: IntegratorState, target: number, dt: number): IntegratorState; isSettled(state: IntegratorState, target: number): boolean; } //# sourceMappingURL=linear-integrator.d.ts.map