/** * Keeps our on-page dev UI (HMR indicator, source-overlay tooltip) clear of the * Vite DevTools edge panel so they don't sit on top of it. * * The panel is `#devframes-edge-panel` inside the open shadow root of the * `` host (`#vite-devtools-edge-panel` in * `` before Vite DevTools moved onto devframes), * and only exists while the dock is docked to an edge (it can be * moved/resized). We report the inset, in px, that the panel occupies on each * viewport edge it touches — plus a small gap — so callers can offset * themselves. */ export interface EdgeInsets { top: number; right: number; bottom: number; left: number; } /** * Calls `onChange` with the current insets and again whenever they change — the * panel being docked/resized/moved, the window resizing, or the devtools * mounting after us. Returns a disposer. */ export declare const observeEdgeInsets: (onChange: (insets: EdgeInsets) => void) => (() => void); //# sourceMappingURL=edge-panel.d.ts.map