import { Observable } from '@legendapp/state'; type UseWindowFocusReturn = Observable; /** * Framework-agnostic reactive window focus tracker. * * Exposes an `Observable` that reflects whether the browser window * currently has focus. Initial value is synced from `document.hasFocus()` in * `onMount` to match SSR output and avoid hydration mismatch. Updates via * `focus` / `blur` events on `window`. */ declare function createWindowFocus(): UseWindowFocusReturn; export { type UseWindowFocusReturn, createWindowFocus };