import type { MediaValues } from './types'; interface MockMatchMediaResult { /** * Mocks given media value(s) in the mocked environment, triggering listeners * on any active media queries whose feature evaluations are changed. * * @example * mockMedia({ type: 'screen', width: '1200px', height: '800px' }); */ mockMedia: (values: MediaValues) => void; /** * Clears the mocked media state to default values, without removing the mock. * In Jest, this is called automatically in each `afterEach` block by default. */ clearMedia: () => void; /** * Calls `clearMedia` and restores the original value of `window.matchMedia`. * In Jest, this is called automatically in each `afterAll` block by default. */ restoreMedia: () => void; } /** * Mocks the `window.matchMedia` function to use an internally held state. * Returns helper functions designed to help work with the mocks. */ export declare const mockMatchMedia: () => MockMatchMediaResult; export {};