import { SortOrder, VendorListViewSortKey, VendorListViewYTDSpendSortKey } from '@zeniai/client-epic-state';
import { SortDirection, SortState } from './vendorListSortTypes';
export declare function vendorSortOrderToDirection(sortOrder: SortOrder): SortDirection;
export declare function sortDirectionToVendorSortOrder(direction: SortDirection): SortOrder;
/** Maps epic sort key to table column key (YTD spend variants collapse to `spend`). */
export declare function vendorListSortKeyToTableColumnKey(sortKey: VendorListViewSortKey): string;
export declare function tableColumnKeyToVendorSortKey(tableColumnKey: string, ytdSpendSelection: VendorListViewYTDSpendSortKey): VendorListViewSortKey;
export declare function vendorListSortToSortState(sortKey: VendorListViewSortKey, sortOrder: SortOrder): SortState;
export declare function sortStateToVendorListSort(next: SortState | null, ytdSpendSelection: VendorListViewYTDSpendSortKey): {
    sortKey: VendorListViewSortKey;
    sortOrder: SortOrder;
} | undefined;
