export interface UseSortReturn<T> {
    sortedItems: T[];
    sortField: string | undefined;
    sortDirection: 'asc' | 'desc';
    onSortChange: (fieldName: string) => void;
}
export declare const useSort: <T extends Record<string, any>>(items: T[]) => UseSortReturn<T>;
