/** * Hook that tracks page visibility * * @returns True if page is visible, false if hidden * * @example * ```tsx * const Component = () => { * const isVisible = useVisibility(); * return
{isVisible ? 'Visible' : 'Hidden'}
; * }; * ``` */ export declare function useVisibility(): boolean; //# sourceMappingURL=useVisibility.d.ts.map