/** * Keeps a panel rendered while it animates out: `shown` while `open` and after it turns false until * `done()` (the exit animation ended). `closing` turns true when `open` turns false (state adjusted * while rendering, React's pattern for following a prop). */ export declare function usePresence(open: boolean): { shown: boolean; closing: boolean; done: () => void; };