import type { CellRange } from '@visactor/vtable/es/ts-types/table-engine';
import { CellValueType } from './types';
import type { ListTable } from '@visactor/vtable';
import { Direction, IDiscreteRange } from './types';
export interface ISelectedRangeArray {
    cols: number[];
    rows: number[];
}
export declare function getSelectedRangeArray(selectedRange: CellRange): ISelectedRangeArray;
export declare function getTargetRange(direction: Direction, sourceRange: IDiscreteRange, selectedRange: ISelectedRangeArray): {
    cols: number[];
    rows: number[];
};
export declare function openAutoFillMenu(tableInstance: ListTable, endCol: number, endRow: number): void;
export declare function getCellMatrix(table: ListTable): {
    getValue: (row: number, col: number) => {
        v: any;
        t: CellValueType;
    };
    getMaxRows: () => number;
    getMaxColumns: () => number;
};
export declare function isMergeCell(table: ListTable, col: number, row: number): CellRange;
