import type { TransformColumns, ColumnsType, Key, ColumnType, SortOrder, ColumnTitleProps, SorterResult, TableLocale } from '../interface'; import type { TooltipProps } from '../../tooltip'; import type { Ref } from 'vue'; import type { DefaultRecordType } from '../../vc-table/interface'; export interface SortState { column: ColumnType; key: Key; sortOrder: SortOrder | null; multiplePriority: number | false; } export declare function getSortData(data: readonly RecordType[], sortStates: SortState[], childrenColumnName: string): RecordType[]; interface SorterConfig { prefixCls: Ref; mergedColumns: Ref>; onSorterChange: (sorterResult: SorterResult | SorterResult[], sortStates: SortState[]) => void; sortDirections: Ref; tableLocale?: Ref; showSorterTooltip?: Ref; } export default function useFilterSorter({ prefixCls, mergedColumns, onSorterChange, sortDirections, tableLocale, showSorterTooltip, }: SorterConfig): [ TransformColumns, Ref[]>, Ref>, Ref | SorterResult[]> ]; export {};