import { DataType } from '../types/advanced-grid.types'; /** * Hook to allow the grid handle the selected records * @author Alejandro Quiroz * @version 1.0.0 * @param data The Api received data * @returns */ declare const useSelectedRecords: (data: DataType[]) => { clearSelection: () => void; selectedRecords: (string | number)[]; selectAllCheck: boolean; handleSelectAll: () => void; handleSelectRecord: (record: number | string) => void; resetCheckAll: () => void; }; export default useSelectedRecords;