/** a utility hook for handling an the addition and removal of an animation and exit animation class */ export declare const useExitingAnimation: (shouldAnimate: boolean | undefined, animatingClass: string, exitingClass: string, exitDuration?: number) => string;