/** * Whether a media query matches, kept in sync with resizes. Returns `serverValue` on the server and during * hydration, so the first client render matches the server markup (no flash, no hydration warning). * * const isDesktop = useMediaQuery(breakpoint.query.up.MLarge) */ export declare const useMediaQuery: (query: string, serverValue?: boolean) => boolean;