export interface NodeSelectionModalOptions {
    onCreateNode: (host: string) => Promise<void>;
    onDismiss?: () => void;
}
export interface NodeSelectionResult {
    host?: string;
    dismissed: boolean;
}
export declare class TinyCloudNodeSelectionModal extends HTMLElement {
    private options;
    private isVisible;
    private isCreating;
    private resolveResult;
    private completionPromise;
    private selectedHost;
    constructor(options: NodeSelectionModalOptions);
    getCompletionPromise(): Promise<NodeSelectionResult>;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private render;
    private getModalStyles;
    private setupEventListeners;
    private handleKeyDown;
    private handleCreateSpace;
    private show;
    private hide;
    private dismiss;
}
//# sourceMappingURL=NodeSelectionModal.d.ts.map