import { SortDirection, SortPropDir, SortType } from '../types/index'; /** * Gets the next sort direction * @parm sortType * @parm currentSort * @return */ export declare function nextSortDir(sortType: SortType, current: SortDirection): SortDirection; /** * Adapted from fueld-ui on 6/216 * https://github.com/FuelInteractive/fuel-ui/tree/master/src/pipes/OrderBy * @parm a * @parm b * @return position */ export declare function orderByComparator(a: any, b: any): number; /** * Sorts the rows * * @export * @param rows * @param columns * @param dirs * @returns */ export declare function sortRows(rows: any[], columns: any[], dirs: SortPropDir[]): any[];