export declare const SHADOW_HOST_ATTR = "data-funkit-shadow-host"; export declare const SHADOW_CONTAINER_ATTR = "data-funkit-container"; interface ShadowHost { host: HTMLElement; container: HTMLElement; } /** * Build the body-level shadow host and the container inside it that all * portalled UI renders into. Returns the host for cleanup and the container * for the portals. */ export declare function mountShadowHost(shadowCss: string, themeId: string): ShadowHost; /** * Keep a shadow host mounted while a stylesheet is available. Returns the * container for portalled UI, or null while there is nothing to mount into. */ export declare function useMountShadowHost(shadowCss: string | null, themeId: string): HTMLElement | null; export {};