import { WidgetElement } from '@blockeditor/lit';
import { nothing } from 'lit';
export interface SelectionRect {
    width: number;
    height: number;
    top: number;
    left: number;
}
export declare const AFFINE_DOC_REMOTE_SELECTION_WIDGET = "affine-doc-remote-selection-widget";
export declare class AffineDocRemoteSelectionWidget extends WidgetElement {
    static styles: import("lit").CSSResult;
    static enable: boolean;
    private _remoteColorManager;
    private _remoteSelections;
    private get _selectionManager();
    private get _container();
    private get _containerRect();
    private _resizeObserver;
    private _abortController;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private _getSelectionRect;
    private _getCursorRect;
    render(): import("lit").TemplateResult<1> | typeof nothing;
}
declare global {
    interface HTMLElementTagNameMap {
        [AFFINE_DOC_REMOTE_SELECTION_WIDGET]: AffineDocRemoteSelectionWidget;
    }
}
//# sourceMappingURL=doc-remote-selection.d.ts.map