import * as React from 'react'; import { SortDir } from './types.js'; import { SortRule } from '../../lib/table-properties-types.js'; import '../../lib/column-cell-kind.js'; import '../../lib/status-badge-tints.js'; /** Multi-key sort rules for useTableState (header click, drawer add/remove/toggle). */ declare function useSortRules(defaultSort?: { key: string; dir: SortDir; }): { sortRules: SortRule[]; setSortRules: React.Dispatch>; primarySort: SortRule; sortKey: string; sortDir: SortDir; addSortRule: (fieldKey: string) => void; removeSortRule: (id: string) => void; toggleSortDir: (id: string) => void; handleSortByKey: (colKey: string) => void; }; export { useSortRules };