/** * useVisibilityChange hook is used to check if the document is visible. * * @returns A boolean indicating whether the document is visible. * * @example * ```tsx * const Component = () => { * const isVisible = useVisibilityChange(); * * return
{isVisible ? 'Visible' : 'Hidden'}
; * }; */ export declare function useVisibilityChange(): boolean;