import type { Nullable } from "../types/index.js"; /** * Sets the maximum supported viewport dimensions. Called by browser initialization after detecting the display size and accounting for browser chrome. * @param width - Maximum viewport width in pixels. * @param height - Maximum viewport height in pixels. */ export declare function setMaxSupportedViewport(width: number, height: number): void; /** * Returns the maximum supported viewport dimensions, or null if display detection has not yet completed. Callers should fall back to the configured preset when null * is returned. * @returns The maximum supported viewport dimensions, or null before detection. */ export declare function getMaxSupportedViewport(): Nullable<{ height: number; width: number; }>; /** * Sets the browser chrome dimensions. Called by browser initialization after measuring the difference between outer and inner window dimensions. * @param width - Chrome width in pixels (typically 0 or small for window borders). * @param height - Chrome height in pixels (title bar + toolbar). */ export declare function setBrowserChrome(width: number, height: number): void; /** * Returns the cached browser chrome dimensions, or null if display detection has not yet completed. * @returns The browser chrome dimensions, or null before detection. */ export declare function getBrowserChrome(): Nullable<{ height: number; width: number; }>;