import { MEDIA_QUERY_CONFIG } from "../../media-queries/config.js";
const noop = ()=>{
// do nothing
};
/**
 * @internal
 * @since 6.0.0
 */ export const BASE_MEDIA_QUERY_LIST = {
    media: "",
    matches: false,
    onchange: noop,
    addListener: noop,
    addEventListener: noop,
    removeEventListener: noop,
    removeListener: noop,
    dispatchEvent: ()=>false
};
/**
 * @since 6.0.0
 * @returns `true` for phone media queries
 */ export const matchPhone = (query)=>query.includes(`${MEDIA_QUERY_CONFIG.phoneMaxWidth}`);
/**
 * @since 6.0.0
 * @returns `true` for tablet media queries
 */ export const matchTablet = (query)=>query.includes(`${MEDIA_QUERY_CONFIG.tabletMinWidth}`);
/**
 * @since 6.0.0
 * @returns `true` for desktop media queries
 */ export const matchDesktop = (query)=>query.includes(`${MEDIA_QUERY_CONFIG.desktopMinWidth}`);
/**
 * @since 6.0.0
 * @returns `true` for large desktop media queries
 */ export const matchLargeDesktop = (query)=>query.includes(`${MEDIA_QUERY_CONFIG.desktopLargeMinWidth}`);
/**
 * @since 6.0.0
 * @returns `true` for both desktop and large desktop media queries
 */ export const matchAnyDesktop = (query)=>matchDesktop(query) || matchLargeDesktop(query);

//# sourceMappingURL=match-media.js.map