import { SortsConfigType, SortsType } from '../types/advanced-grid.types'; declare type HandleChangeType = (s: string) => void; /** * Hook to allow the grid control the sorts * @param sorts * @returns */ declare const useSorter: (sorts: SortsConfigType) => [SortsType, HandleChangeType]; export default useSorter;