/** * Accepts a media query string then uses the * [window.matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia) API to determine if it * matches with the current document.
* It also monitor the document changes to detect when it matches or stops matching the media query.
* Returns the validity state of the given media query. * */ declare const useMediaQuery: (mediaQuery: string) => boolean; export default useMediaQuery;