export interface SpaceCreationModalOptions {
    onCreateSpace: () => Promise<void>;
    onDismiss?: () => void;
}
export interface SpaceCreationResult {
    success: boolean;
    dismissed: boolean;
}
export declare class TinyCloudSpaceModal extends HTMLElement {
    private options;
    private isVisible;
    private isCreating;
    private resolveResult;
    private completionPromise;
    constructor(options: SpaceCreationModalOptions);
    getCompletionPromise(): Promise<SpaceCreationResult>;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private render;
    private getModalStyles;
    private setupEventListeners;
    private handleKeyDown;
    private handleCreateSpace;
    private show;
    private hide;
    private dismiss;
}
//# sourceMappingURL=SpaceCreationModal.d.ts.map