import { BREAKPOINTS, classifyWidth, type WindowSizeClass, WINDOW_SIZE_CLASSES } from "@aphrody/m3-tokens/breakpoints"; export { BREAKPOINTS, classifyWidth, WINDOW_SIZE_CLASSES }; export type { WindowSizeClass }; /** * `(min-width: …)` media query string for the lower bound of a size class. * Alias of `m3-tokens`' `mediaQuery`, kept for the web-oriented hook API. */ export declare function minWidthQuery(sizeClass: WindowSizeClass): string; /** * Reactive boolean for a CSS media query. SSR-safe (returns `false` until * mounted on the client). */ export declare function useMediaQuery(query: string): boolean; /** * Reactive M3 window size class for the viewport. Updates on resize/orientation * change via `matchMedia`. SSR-safe — returns `ssrSizeClass` until mounted. * * ```tsx * const sizeClass = useWindowSizeClass(); * return sizeClass === "compact" ? : ; * ``` */ export declare function useWindowSizeClass(ssrSizeClass?: WindowSizeClass): WindowSizeClass; /** True when the viewport is at least the given size class (e.g. tablet+). */ export declare function useAtLeast(sizeClass: WindowSizeClass): boolean; //# sourceMappingURL=use-window-size-class.d.ts.map