/** Whether `query` currently matches; `false` wherever `matchMedia` is missing (SSR, some test runners). */ export declare function matchesMediaQuery(query: string): boolean; /** * Calls `onChange` with the new match state whenever `query` flips, and returns the unsubscribe. * A no-op returning a no-op wherever `matchMedia` is missing. */ export declare function subscribeMediaQuery(query: string, onChange: (matches: boolean) => void): () => void;