import { AnimatedValue } from '@react-spring/animated' import { FluidValue } from '@react-spring/shared' import { AnimationConfig } from './AnimationConfig' import { PickEventFns } from './types/internal' import { SpringProps } from './types' const emptyArray: readonly any[] = [] /** An animation being executed by the frameloop */ // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging export class Animation { changed = false values: readonly AnimatedValue[] = emptyArray toValues: readonly number[] | null = null fromValues: readonly number[] = emptyArray to!: T | FluidValue from!: T | FluidValue config = new AnimationConfig() immediate = false } export interface Animation extends PickEventFns> {}