/** * Slot geometry (API §10) — the physical iframe-slot layer over a stage container * (measure + project). Slots live in the stage (imperative DOM), insulated from * React reconciliation of the hosts; only a slot's box is repositioned, so a * healthy iframe never reloads on reorder/re-key/re-parent. */ /** Viewport-space box a host projects onto its stage slot. */ export interface SlotRect { readonly top: number; readonly left: number; readonly width: number; readonly height: number; } /** * One persistent slot inside the stage. Its `element` is the mount host handed * to `shell.mount`; the element NEVER moves in the DOM while the owning host * reorders/re-keys/re-parents — only its box is repositioned via `place`. */ export interface StageSlot { readonly element: HTMLElement; place(rect: SlotRect): void; release(): void; } export interface StageController { acquire(): StageSlot; dispose(): void; } /** Build the slot layer over a stage container element (imperative, no React). */ export declare function createStageController(container: HTMLElement): StageController; /** Measure an anchor element's viewport box. */ export declare function rectOf(el: HTMLElement): SlotRect; export declare function sameRect(a: SlotRect, b: SlotRect): boolean; //# sourceMappingURL=placement.d.ts.map