import { type DecayOptions } from '../physics/decay'; import { type SpringOptions } from '../physics/spring'; import { type ToOptions } from '../physics/tween'; import type { Scheduler } from '../scheduler/scheduler'; import type { Animatable } from '../value/animatable'; import type { PlaybackHandle, PlaybackOptions } from './handle'; export interface PlayableOptions { /** The scheduler the value runs on; pass the same one the value was created with. Defaults to the shared loop. */ scheduler?: Scheduler; } export interface PlaybackValue { /** Live spring chase (physics, not seekable until bake()). */ spring(target: number, options?: SpringOptions & PlaybackOptions): PlaybackHandle; /** Duration tween (timeline, seekable from birth). */ to(target: number, options?: ToOptions & PlaybackOptions): PlaybackHandle; /** Inertial glide (physics, not seekable until bake()). */ decay(options?: DecayOptions & PlaybackOptions): PlaybackHandle; } export declare function playable(value: Animatable, options?: PlayableOptions): PlaybackValue; //# sourceMappingURL=playable.d.ts.map