import type { SelectionProps, TableSelection } from "../helpers/selection/selection.types.js";
import type { UseTableItemsReturn } from "./useTableItems.js";
type UseTableSelectionArgs<T> = {
    selection?: SelectionProps<T>;
    selectionTrigger: "row" | "control";
    tableItems: UseTableItemsReturn<T>;
};
type UseTableSelectionReturn = {
    selection: TableSelection;
    renderSelection: boolean;
    selectionTrigger: "row" | "control";
};
declare function useTableSelection<T>({ selection, selectionTrigger, tableItems, }: UseTableSelectionArgs<T>): UseTableSelectionReturn;
/**
 * TODO: Only temp needed to keep Root happy
 */
declare const noSelectionState: UseTableSelectionReturn;
export { useTableSelection, noSelectionState };
export type { SelectionProps, UseTableSelectionReturn };
