/** * WCAG 1.4.10 Reflow (Level AA) — shared detection for sidebar flyout, * compact filter toolbar, disabled column stickies, and single-column nav scroll. * * Triggers when any of: * - viewport width ≤ 320 CSS px (1.4.10 test width), * - browser zoom ≥ ~200% (`visualViewport.scale`), * - short viewport height (≤ 640px or ≤ 420px). */ /** WCAG 1.4.10 — content must reflow at 320 CSS px without horizontal scroll. */ declare const REFLOW_MAX_WIDTH_PX = 320; declare const REFLOW_MAX_WIDTH_MQ = "(max-width: 320px)"; declare const REFLOW_MAX_HEIGHT_MQ = "(max-height: 640px)"; declare const COARSE_POINTER_MQ = "(pointer: coarse)"; /** Browser zoom ≥ ~200%, narrow 1.4.10 width, or a genuinely short viewport. */ declare function computeReflowViewport(): boolean; declare function computeCoarsePointer(): boolean; type Listener = () => void; declare function subscribeReflowViewport(callback: Listener): () => void; declare function getReflowViewportSnapshot(): boolean; declare function getServerReflowViewportSnapshot(): boolean; declare function subscribeCoarsePointer(callback: Listener): () => void; declare function getCoarsePointerSnapshot(): boolean; declare function getServerCoarsePointerSnapshot(): boolean; export { COARSE_POINTER_MQ, REFLOW_MAX_HEIGHT_MQ, REFLOW_MAX_WIDTH_MQ, REFLOW_MAX_WIDTH_PX, computeCoarsePointer, computeReflowViewport, getCoarsePointerSnapshot, getReflowViewportSnapshot, getServerCoarsePointerSnapshot, getServerReflowViewportSnapshot, subscribeCoarsePointer, subscribeReflowViewport };