import './doc-image-block.js';
import './edgeless-image-block.js';
import './components/image-card.js';
import { BlockElement } from '@blockeditor/lit';
import type { ImageBlockPageComponent } from './doc-image-block.js';
import type { ImageBlockEdgelessComponent } from './edgeless-image-block.js';
import { type ImageBlockModel } from './image-model.js';
export declare class ImageBlockComponent extends BlockElement<ImageBlockModel> {
    _pageImage: ImageBlockPageComponent;
    _edgelessImage: ImageBlockEdgelessComponent;
    private _imageState;
    private _isInSurface;
    private _lastSourceId;
    private _source;
    private _retryCount;
    blob?: Blob;
    get isInSurface(): boolean;
    get resizeImg(): HTMLElement | undefined;
    private _fetchImage;
    private _onCardClick;
    private _dragHandleOption;
    connectedCallback(): void;
    disconnectedCallback(): void;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-image': ImageBlockComponent;
    }
}
//# sourceMappingURL=image-block.d.ts.map