import * as React from 'react'; export type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined; /** * Provides a status string for CSS animations. * @param open - a boolean that determines if the element is open. * @param enableIdleState - a boolean that enables the `'idle'` state between `'starting'` and `'ending'` * @param deferEndingState - a boolean that delays the `'ending'` state by a frame * @param animateInitialOpen - a boolean that makes an element which mounts already open still go * through `'starting'`. Off by default so content that was open on the first render (a * `defaultOpen` popup on page load, SSR'd markup) doesn't animate in. */ export declare function useTransitionStatus(open: boolean, enableIdleState?: boolean, deferEndingState?: boolean, animateInitialOpen?: boolean): { mounted: boolean; setMounted: React.Dispatch>; transitionStatus: TransitionStatus; };