import type { EditorHost } from '@blockeditor/lit';
import { ShadowlessElement } from '@blockeditor/lit';
import type { BlockModel } from '@blockeditor/store';
declare const EmbedCardCreateModal_base: typeof ShadowlessElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class EmbedCardCreateModal extends EmbedCardCreateModal_base {
    static styles: import("lit").CSSResult;
    host: EditorHost;
    titleText: string;
    descriptionText: string;
    createOptions: {
        mode: 'page';
        parentModel: BlockModel | string;
        index?: number;
    } | {
        mode: 'edgeless';
    };
    onConfirm: () => void;
    input: HTMLInputElement;
    private _linkInputValue;
    connectedCallback(): void;
    private _handleInput;
    private _onDocumentKeydown;
    private _onConfirm;
    private _onCancel;
    render(): import("lit").TemplateResult<1>;
}
export declare function toggleEmbedCardCreateModal(host: EditorHost, titleText: string, descriptionText: string, createOptions: {
    mode: 'page';
    parentModel: BlockModel | string;
    index?: number;
} | {
    mode: 'edgeless';
}): Promise<void>;
declare global {
    interface HTMLElementTagNameMap {
        'embed-card-create-modal': EmbedCardCreateModal;
    }
}
export {};
//# sourceMappingURL=embed-card-create-modal.d.ts.map