import './components/bookmark-card.js';
import '../_common/components/button.js';
import './doc-bookmark-block.js';
import './edgeless-bookmark-block.js';
import { Slot } from '@blockeditor/global/utils';
import { BlockElement } from '@blockeditor/lit';
import type { EmbedCardCaption } from '../_common/components/embed-card/embed-card-caption.js';
import { type BookmarkBlockModel } from './bookmark-model.js';
import type { BookmarkService } from './bookmark-service.js';
import type { DocBookmarkBlockComponent } from './doc-bookmark-block.js';
import type { EdgelessBookmarkBlockComponent } from './edgeless-bookmark-block.js';
export declare class BookmarkBlockComponent extends BlockElement<BookmarkBlockModel, BookmarkService> {
    loading: boolean;
    loadingFailed: boolean;
    showCaption: boolean;
    edgelessOrDocBookmark?: EdgelessBookmarkBlockComponent | DocBookmarkBlockComponent;
    captionElement: EmbedCardCaption;
    private _isInSurface;
    get isInSurface(): boolean;
    readonly slots: {
        loadingUpdated: Slot<void>;
    };
    private _dragHandleOption;
    open: () => void;
    refreshData: () => void;
    connectedCallback(): void;
    updated(changedProperties: Map<string, unknown>): void;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-bookmark': BookmarkBlockComponent;
    }
}
//# sourceMappingURL=bookmark-block.d.ts.map