import type { TableLocale } from '@antdv/ui/es/locale'; import type { Ref } from 'vue'; import type { TooltipProps } from '../../../tooltip'; import type { ColumnTitleProps, SorterResult, SortOrder, SortState, TableColumnsType, TransformColumns } from '../interface'; export declare function getSortData(data: readonly RecordType[], sortStates: Array>, childrenColumnName: string): RecordType[]; interface SorterConfig { prefixCls: Ref; mergedColumns: Ref>; onSorterChange: (sorterResult: SorterResult | Array>, sortStates: Array>) => void; sortDirections: Ref; tableLocale?: Ref; showSorterTooltip?: Ref; } export default function useFilterSorter({ prefixCls, mergedColumns, onSorterChange, sortDirections, tableLocale, showSorterTooltip, }: SorterConfig): [ TransformColumns, Ref>>, Ref>, Ref | Array>> ]; export {};