import type { InlineRange } from '@blockeditor/inline';
import type { BlockElement } from '@blockeditor/lit';
import { LitElement } from 'lit';
import type { AffineInlineEditor } from '../../affine-inline-specs.js';
declare const ReferencePopup_base: typeof LitElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class ReferencePopup extends ReferencePopup_base {
    static styles: import("lit").CSSResult;
    inlineEditor: AffineInlineEditor;
    targetInlineRange: InlineRange;
    pageTitle: string;
    abortController: AbortController;
    popupContainer: HTMLDivElement;
    get referencePageId(): string;
    private _moreMenuAbortController;
    connectedCallback(): void;
    updated(): void;
    get blockElement(): BlockElement<import("@blockeditor/store").BlockModel<object>, import("@blockeditor/block-std").BlockService<import("@blockeditor/store").BlockModel<object>>, string>;
    get std(): import("@blockeditor/block-std").BlockStdScope;
    private _openPage;
    private _convertToCardView;
    private _toggleMoreMenu;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'reference-popup': ReferencePopup;
    }
}
export declare function toggleReferencePopup(inlineEditor: AffineInlineEditor, targetInlineRange: InlineRange, pageTitle: string, abortController: AbortController): ReferencePopup;
export {};
//# sourceMappingURL=reference-popup.d.ts.map