/** Gap kept between a floating panel and every viewport edge. */ export declare const VIEWPORT_MARGIN = 12; /** Horizontal space reserved for the launcher tab on its side of the screen. */ export declare const TAB_WIDTH = 32; /** * The horizontal band a floating panel may occupy: the viewport minus the edge * margin, minus the launcher tab on whichever side it sits. */ export interface ViewportFrame { vw: number; vh: number; minLeft: number; maxRight: number; } export declare function measureViewportFrame(tabPosition: 'left' | 'right'): ViewportFrame; /** Widest a panel can be without crossing the edge margin or the launcher tab. */ export declare function panelWidth(preferred: number, frame: ViewportFrame): number; //# sourceMappingURL=position.d.ts.map