import { BlockElement } from '@blockeditor/lit';
import { type AttachmentBlockModel } from './attachment-model.js';
export declare class AttachmentBlockComponent extends BlockElement<AttachmentBlockModel> {
    static styles: import("lit").CSSResult;
    private _showCaption;
    private _captionInput;
    private _error;
    private _isDownloading;
    private _blobUrl?;
    private _pointerPressed;
    private readonly _themeObserver;
    private _hoverController;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private _registerDragHandleOption;
    /**
     * Check if the blob is available. It is necessary since the block may be copied from another workspace.
     */
    private _checkBlob;
    private _focusAttachment;
    private _downloadAttachment;
    private _onBlur;
    private _onInput;
    private _attachmentTail;
    private _captionTemplate;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-attachment': AttachmentBlockComponent;
    }
}
//# sourceMappingURL=attachment-block.d.ts.map