/** * Subscribe to an arbitrary media query and return whether it currently * matches. Useful for responsive components that need to branch on * viewport size without hand-rolling `matchMedia` plumbing. * * SSR-safe: returns `false` when `window` is undefined. The effect is * client-only, so hydration mismatches are avoided without a null * sentinel at the type level. * * Mirrors the shape of `usePrefersReducedMotion` — Safari < 14 fallback * via `addListener` / `removeListener` is included. * * @example * const isMobile = useMediaQuery('(max-width: 640px)'); */ export declare function useMediaQuery(query: string): boolean; //# sourceMappingURL=use-media-query.d.ts.map