/**
 * Redirect overlay rendering into the shadow root's #overlayContainer.
 *
 * If `ensureOverlayRoot()` was already called (e.g. during runtime creation
 * before the canvas element exists), the temporary fallback element is
 * reparented into `container` so that existing references remain valid.
 */
export declare function setOverlayRoot(container: HTMLElement): void;
/**
 * Return the overlay root element for appending overlays (tooltips, modals, etc).
 *
 * On first call (before `setOverlayRoot()`), creates a temporary element on
 * document.body. When `setOverlayRoot()` is called later during shadow DOM
 * bootstrap, this element is reparented into the shadow root so all existing
 * references continue to work.
 */
export declare function ensureOverlayRoot(): HTMLElement;
export declare function injectBaseStyles(target: ShadowRoot | DocumentOrShadowRoot): void;
export declare function setDocumentInertExcept(keepEl: HTMLElement): void;
export declare function clearDocumentInert(): void;
