import 'rollup-plugin-inject-process-env'; /** * The same query the stylesheets use, as a string rather than a number. * * A bare width could not express this. A phone on its side is 740-863px wide, so any * width-only threshold either excludes landscape phones or catches tablets - #1592 moved * the stylesheets to `(max-width: 640px), (max-height: 480px) and (pointer: coarse)` for * exactly that reason, and a JS constant of 640 or 768 cannot mirror it either way. * * Sharing the query text is what keeps the two halves from drifting: matchMedia evaluates * the identical condition the CSS does, so there is one definition of "phone" and it lives * in `_mixins.scss`. Keep this in step with the `mobile()` mixin. XappMedia/chat-widget#1594. */ export declare const MOBILE_MEDIA_QUERY = "(max-width: 640px), (max-height: 480px) and (pointer: coarse)"; /** * Whether the chat panel renders full-screen right now. False where matchMedia is missing * (jsdom), matching ActionBar's assume-desktop fallback. */ export declare function isMobileViewport(win?: Window): boolean;