import { WidgetElement } from '@blockeditor/lit';
import { nothing } from 'lit';
import type { DocPageBlockComponent } from '../../index.js';
type Rect = {
    left: number;
    top: number;
    width: number;
    height: number;
};
export declare const AFFINE_DOC_DRAGGING_AREA_WIDGET = "affine-doc-dragging-area-widget";
export declare class AffineDocDraggingAreaWidget extends WidgetElement<DocPageBlockComponent> {
    rect: Rect | null;
    private _rafID;
    static excludeFlavours: string[];
    private _lastPointerState;
    private _dragging;
    private _initialScrollOffset;
    private _initialContainerOffset;
    private get _viewportElement();
    private get _viewport();
    private get _allBlocksWithRect();
    private _selectBlocksByRect;
    private _clearRaf;
    private _updateDraggingArea;
    connectedCallback(): void;
    firstUpdated(): void;
    disconnectedCallback(): void;
    render(): import("lit").TemplateResult<1> | typeof nothing;
}
declare global {
    interface HTMLElementTagNameMap {
        [AFFINE_DOC_DRAGGING_AREA_WIDGET]: AffineDocDraggingAreaWidget;
    }
}
export {};
//# sourceMappingURL=doc-dragging-area.d.ts.map