import { BaseSelection } from '@blockeditor/block-std';
import type { DataViewSelection, GetDataViewSelection } from '../../_common/utils/index.js';
export declare class DatabaseSelection extends BaseSelection {
    static type: string;
    static group: string;
    readonly viewSelection: DataViewSelection;
    constructor({ path, viewSelection, }: {
        path: string[];
        viewSelection: DataViewSelection;
    });
    get viewId(): string;
    getSelection<T extends DataViewSelection['type']>(type: T): GetDataViewSelection<T> | undefined;
    equals(other: BaseSelection): boolean;
    toJSON(): Record<string, unknown>;
    static fromJSON(json: Record<string, unknown>): DatabaseSelection;
}
declare global {
    namespace BlockEditor {
        interface Selection {
            database: typeof DatabaseSelection;
        }
    }
}
//# sourceMappingURL=selection.d.ts.map