import { type RefObject } from 'react'; /** * Create gsap animation via a callback, animation is killed when component is * unmounted or when a new callback function is provided. */ export declare function useAnimation(callback: () => T, dependencies: ReadonlyArray): RefObject;