1 | import { type Dict } from "../utils";
|
2 | export interface UseBreakpointOptions {
|
3 | fallback?: string;
|
4 | ssr?: boolean;
|
5 | getWindow?: () => typeof window;
|
6 | breakpoints?: string[];
|
7 | }
|
8 | export declare function useBreakpoint(options?: UseBreakpointOptions): string;
|
9 | export type UseBreakpointValueOptions = Omit<UseBreakpointOptions, "breakpoints">;
|
10 | type Value<T> = Dict<T> | Array<T | null>;
|
11 | export declare function useBreakpointValue<T = any>(value: Value<T>, opts?: UseBreakpointValueOptions): T | undefined;
|
12 | export {};
|