import type { EditorHost } from '@blockeditor/lit';
import { WidgetElement } from '@blockeditor/lit';
import type { BlockModel } from '@blockeditor/store';
import { type LinkedDocOptions } from './config.js';
import { LinkedDocPopover } from './linked-doc-popover.js';
export declare function showLinkedDocPopover({ editorHost, model, range, container, abortController, options, triggerKey, }: {
    editorHost: EditorHost;
    model: BlockModel;
    range: Range;
    container?: HTMLElement;
    abortController?: AbortController;
    options: LinkedDocOptions;
    triggerKey: string;
}): LinkedDocPopover;
export declare const AFFINE_LINKED_DOC_WIDGET = "affine-linked-doc-widget";
export declare class AffineLinkedDocWidget extends WidgetElement {
    static DEFAULT_OPTIONS: LinkedDocOptions;
    options: LinkedDocOptions;
    connectedCallback(): void;
    showLinkedDoc: (model: BlockModel, triggerKey: string) => void;
    private _onKeyDown;
}
declare global {
    interface HTMLElementTagNameMap {
        [AFFINE_LINKED_DOC_WIDGET]: AffineLinkedDocWidget;
    }
}
//# sourceMappingURL=index.d.ts.map