import type { OsSignals } from './types.js'; export declare const MEDIA_QUERIES: { readonly forcedColors: "(forced-colors: active)"; readonly contrastMore: "(prefers-contrast: more)"; readonly reducedTransparency: "(prefers-reduced-transparency: reduce)"; readonly reducedMotion: "(prefers-reduced-motion: reduce)"; readonly schemeDark: "(prefers-color-scheme: dark)"; readonly coarsePointer: "(pointer: coarse)"; }; export type OsSignalKey = keyof typeof MEDIA_QUERIES; /** Input-capability queries read by the motion runtime (pointer light, magnetic). Kept out of MEDIA_QUERIES so the store's OS-signal set and its change subscription are unchanged; they share the same lazy MQL registry. */ export declare const POINTER_QUERIES: { readonly fineHover: "(hover: hover) and (pointer: fine)"; readonly fine: "(pointer: fine)"; }; export type PointerSignalKey = keyof typeof POINTER_QUERIES; /** Current value of one signal for a window; creates the shared MQL lazily. */ export declare const readOsSignal: (win: Window, key: OsSignalKey) => boolean; /** Current value of one input-capability signal (shared MQL, created lazily). */ export declare const readPointerSignal: (win: Window, key: PointerSignalKey) => boolean; /** All six signals for a window (shared MQLs, lazily created per call). */ export declare const readOsSignals: (win: Window) => OsSignals; /** Subscribe to one signal; returns an unsubscribe that drops the MQL listener when the last subscriber leaves. */ export declare const subscribeOsSignal: (win: Window, key: OsSignalKey, listener: () => void) => (() => void); /** Subscribe to every signal at once; `notify` fires on any change. */ export declare const subscribeOsSignals: (win: Window, notify: () => void) => (() => void); //# sourceMappingURL=media.d.ts.map