import { TableSelection } from './use-table-selection.js'; /** * Small internal bridge for DataTable. * Prefers controlled props, falls back to the nice persisted hook. * Users who want reusable logic should use `useTableSelection` directly (especially with TanStack Table). */ export declare function useTableSelectionState({ tableId, selectionMode, controlledSelectedKeys, onSelectionChange }: { tableId: string; selectionMode?: "single" | "multiple"; controlledSelectedKeys?: TableSelection; onSelectionChange?: (keys: TableSelection) => void; }): { clear: () => void; hasSelection: boolean; isMultiple: boolean; isSelected: (key: string) => boolean; selectAll: (allKeys: string[]) => void; selectedCount: number; selectedKeys: Set; setSelectedKeys: (keys: TableSelection) => void; toggle: (key: string) => void; };