import { AnimationContextProps } from "./animation-context"; interface AnimationConfig { duration: number; easing?: Easing; started?: boolean; playMode?: PlayMode; } declare type UpdateFunc = (t: number) => void; declare type Easing = (t: number) => number; declare type PlayMode = 'forward' | 'reverse' | 'loop' | 'pingPong'; export declare function useAnim(config: AnimationConfig, updateFunc: UpdateFunc): { startedAnimation: boolean; }; export declare const __createUseAnimEffect: (startedAnimation: boolean, animationContext: AnimationContextProps | undefined, config: AnimationConfig, updateFunc: UpdateFunc) => () => (() => void) | undefined; export {}; //# sourceMappingURL=use-anim.d.ts.map