/** * A helper hook that is used to create a memoized media query tester for * `window.matchMedia`. * * Note: This is a **client side only** hook as it requires the `window` to * attach a resize event listener to. * * @param query - The media query to use * @param defaultValue - The default value for if this media query matches. When * this is `undefined`, it will default to `false` unless the `window` is * defined and the `checkImmediately` param was not set to `false`. Otherwise, * it will check the media query matches on mount and use that value. * @param disabled - Boolean if the media query checking should be disabled. * @param checkImmediately - Boolean if the media query should be checked * immediately on mount. When omitted, it will default to checking when the * window is defined. * @returns true if the media query is a match. */ export declare function useMediaQuery(query: string, defaultValue?: boolean, disabled?: boolean, checkImmediately?: boolean): boolean;