/** * component.ts — The Shadow DOM UI component. * * This class creates an isolated custom element that: * 1. Mounts itself to (so it lives outside the host app's DOM tree) * 2. Uses Shadow DOM so its styles are hermetically sealed * 3. Wires up to the InstallEngine via events * 4. Manages show/hide animations * * It is completely optional — devs who want headless mode can skip this * and build their own UI using the InstallEngine's event system. */ import type { InstallEngine } from '../core/engine'; import type { UniversalPWAConfig } from '../types'; export declare class UIComponent { private host; private shadow; private engine; private config; private _visible; constructor(engine: InstallEngine, config: UniversalPWAConfig); private _mount; private _bindUIEvents; private _bindEngineEvents; show(): void; hide(): void; /** Completely removes the component from DOM */ destroy(): void; }