import { Plugin, type Transaction } from "../../../../../../pm/state.js";
import { DecorationSet } from "../../../../../../pm/view.js";
type FromTo = {
    from: number;
    to: number;
};
type CellMods = {
    'first-row'?: boolean;
    'last-row'?: boolean;
    'first-column'?: boolean;
    'last-column'?: boolean;
};
export type SelectedCellPos = FromTo & {
    mods: CellMods;
};
export declare function activateRows(tr: Transaction, params: {
    controlCell: FromTo;
    cells: SelectedCellPos[];
    uniqKey: number;
}): Transaction;
export declare function deactivateRow(tr: Transaction, uniqKey: number): Transaction;
export declare function activateColumns(tr: Transaction, params: {
    controlCell: FromTo;
    cells: SelectedCellPos[];
    uniqKey: number;
}): Transaction;
export declare function deactivateColumn(tr: Transaction, uniqKey: number): Transaction;
export declare function selectDraggedRow(tr: Transaction, cells: SelectedCellPos[]): Transaction;
export declare function selectDraggedColumn(tr: Transaction, cells: SelectedCellPos[]): Transaction;
export declare function clearAllSelections(tr: Transaction): Transaction;
export declare const yfmTableDndPlugin: () => Plugin<DecorationSet>;
export {};
