import * as React from 'react'; export type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined; /** * Provides a status string for animations. * * On the web this drives CSS transitions. In React Native there is no CSS, so * components surface `transitionStatus` on their state object and the consumer * drives an `Animated` value from it. * * @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 - defers the `'ending'` state by a frame. */ export declare function useTransitionStatus(open: boolean, enableIdleState?: boolean, deferEndingState?: boolean): { mounted: boolean; setMounted: React.Dispatch>; transitionStatus: TransitionStatus; }; //# sourceMappingURL=useTransitionStatus.d.ts.map