type AnimatedPresenceResult = Readonly<{ shouldRender: boolean; isExiting: boolean; }>; /** * Delays unmounting by `durationMs` after `isPresent` becomes false, * giving consumers time to run an exit animation before the element * is removed from the DOM. * * Returns `shouldRender: true` while the element should remain mounted * (including during the exit window) and `isExiting: true` during the * exit animation window. */ export declare const useAnimatedPresence: (isPresent: boolean, durationMs: number) => AnimatedPresenceResult; export {};