import type { TableApi } from "./table-api.js";
declare class SelectionManager<TData> {
    private api;
    constructor(api: TableApi<TData>);
    /**
     * Checks if the table allows row selection
     */
    canSelectRows(): boolean | undefined;
    /**
     * Checks if the table allows cell selection
     */
    canSelectCells(): boolean | undefined;
    /**
     * Clears the selection of the table
     */
    clear(): void;
    /**
     * Selects a single row in the table. Only one row can be selected at a time.
     *
     * @param rowIndex - The index of the row to select
     */
    selectRow(rowIndex: number): void;
    /**
     * Toggles the selection of a row in the table.
     *
     * @param rowIndex - The index of the row to toggle
     */
    toggleRow(rowIndex: number): void;
    /**
     * Selects a range of rows from the last active row to the given row index.
     *
     * @param rowIndex - The index of the row to select from
     */
    selectFromLastActiveRow(rowIndex: number): void;
    /**
     * Selects all rows in the table.
     */
    selectAllRows(): void;
    toggleSelectAll(): void;
    /**
     * Selects a cell in the table.
     *
     * @param rowIndex - The index of the row to select
     * @param columnIndex - The index of the column to select
     */
    selectCell(rowIndex: number, columnIndex: number): void;
}
export { SelectionManager };
//# sourceMappingURL=selection-manager.d.ts.map