import * as React from 'react'; /** * Executes a function once all animations have finished on the provided element. * @param ref - The element to watch for animations. * @param waitForNextTick - Whether to wait for the next tick before checking for animations. * @ignore - internal hook. */ export declare function useAnimationsFinished(ref: React.RefObject, waitForNextTick?: boolean): (fnToExecute: () => void) => void;