import { Observable } from '@legendapp/state'; /** * Framework-agnostic reactive document visibility state. * * Tracks the browser tab's visibility state (`'visible'` or `'hidden'`). * Returns a writable `Observable` that updates * automatically when the user switches tabs or minimizes the window. * * SSR-safe: returns `'visible'` when `document` is not available. * * @returns `Observable` — reflects current tab visibility. */ declare function createDocumentVisibility(): Observable; export { createDocumentVisibility };