import { type SmartCanvasController } from './controller';
import { type SmartCanvasAppProps } from './SmartCanvasApp';
export declare class SmartCanvasElement extends HTMLElement {
    #private;
    constructor();
    connectedCallback(): void;
    disconnectedCallback(): void;
    getMountNode(): HTMLDivElement;
    getController(): SmartCanvasController;
    /** React portal target inside shadow root (launcher, drawer, toasts) */
    getPortalRoot(): HTMLDivElement;
    /** Vanilla JS overlay container inside shadow root (tooltips, modals, spotlights) */
    getOverlayContainer(): HTMLDivElement;
    /** Direct access to the shadow root (for style injection) */
    getShadowRoot(): ShadowRoot;
    open(): void;
    close(): void;
    toggle(): void;
    setOverrideFetcher(fetcher: any): void;
    /**
     * Used by standalone create() helper to bootstrap React into the shadow.
     */
    mountReactApp(appProps: Omit<SmartCanvasAppProps, 'controller'>): void;
    private render;
    private applyBaseStyles;
}
export declare const registerSmartCanvasElement: () => void;
declare global {
    interface HTMLElementTagNameMap {
        'smart-canvas': SmartCanvasElement;
    }
}
