/** * usePresence hook is used to manage the presence of a component. * * @param open - The open state. * @returns An object containing the present, exiting, mounted, and ref states. * * @example * ```tsx * const { present, exiting, mounted, ref } = usePresence(true); * * return present && ( *
* ); */ export declare function usePresence(open: boolean, fallbackMs?: number): { present: boolean; exiting: boolean; mounted: boolean; ref: (node: HTMLElement | null) => void; };