import { type TableDataSource, type TableRowSelection } from '@mezzanine-ui/core/table'; import type { TableSelectionState } from '../TableContext'; export interface UseTableSelectionOptions { dataSource: T[]; rowSelection?: TableRowSelection; } export declare function useTableSelection({ dataSource, rowSelection, }: UseTableSelectionOptions): TableSelectionState | undefined;