import { RefObject } from 'react';
export declare function isAnimating(node: Animatable | Document): boolean;
export declare const UNMOUNTING = "unmounting";
/**
 * Delays a node's unmounting until any animations on that node are finished, so that an unmounting
 * animation may be applied. If there is no animation, this is a no-op.
 *
 * CSS should target the UNMOUNTING class to determine when to apply an unmounting animation.
 */
export declare function delayUnmountForAnimation(node: RefObject<HTMLElement>): void;
