import type { InlineRange } from '@blockeditor/inline/types';
import type { BlockElement } from '@blockeditor/lit';
import { LitElement } from 'lit';
import type { IconButton } from '../../../../../components/button.js';
import type { AffineInlineEditor } from '../../../affine-inline-specs.js';
declare const LinkPopup_base: typeof LitElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class LinkPopup extends LinkPopup_base {
    static styles: import("lit").CSSResult;
    type: 'create' | 'edit' | 'view';
    inlineEditor: AffineInlineEditor;
    targetInlineRange: InlineRange;
    abortController: AbortController;
    textInput?: HTMLInputElement;
    linkInput?: HTMLInputElement;
    popupContainer: HTMLDivElement;
    mockSelectionContainer: HTMLDivElement;
    confirmButton?: IconButton;
    private _bodyOverflowStyle;
    private _moreMenuAbortController;
    private _embedOptions;
    connectedCallback(): void;
    protected firstUpdated(): void;
    updated(): void;
    private get _pageService();
    get host(): import("@blockeditor/lit").EditorHost;
    get std(): import("@blockeditor/block-std").BlockStdScope;
    get blockElement(): BlockElement<import("@blockeditor/store").BlockModel<object>, import("@blockeditor/block-std").BlockService<import("@blockeditor/store").BlockModel<object>>, string>;
    get currentText(): string;
    get currentLink(): string;
    private get _isBookmarkAllowed();
    private get _canConvertToEmbedView();
    private _onConfirm;
    private _copyUrl;
    private _convertToCardView;
    private _convertToEmbedView;
    private _removeLink;
    private _onKeydown;
    private _updateConfirmBtn;
    private _confirmBtnTemplate;
    private _createTemplate;
    private _toggleMoreMenu;
    private _viewTemplate;
    private _editTemplate;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'link-popup': LinkPopup;
    }
}
export {};
//# sourceMappingURL=link-popup.d.ts.map