import { SortOrder } from 'antd/es/table/interface';
import DbColumn from '../../types/DbColumn';
import { RowType } from '../../types/Data';
export declare const filterCols: (columns: DbColumn[]) => DbColumn[];
/**
 * Filter the data by filterKeyVals
 * @returns {RowType[]}
 */
export declare const getFilteredData: (columns: DbColumn[], filterKeyVals: {
    [key: string]: string;
}, originalRows: RowType[]) => RowType[];
export declare const getFilteredSortedData: (columns: DbColumn[], filter: Record<string, string>, sorter: {
    columnKey: string;
    order: string;
}, rows: RowType[] | null) => RowType[];
export declare const getSortedData: (originalData: RowType[], sorter: {
    columnKey: string;
    order: string;
}) => RowType[];
export declare const findDuplicates: (arr: string[]) => string[];
/**
 * @returns {object} e.g. `{"name":"foo"}`
 */
export declare const getInitialFilter: (filterProp: DbColumn[]) => {
    [key: string]: string;
};
export declare const getInitialSorter: () => {
    columnKey: string;
    order: string;
};
export declare const updateUrl: (states: {
    [key: string]: string;
}) => void;
export declare const getColumnSortOrder: (columnId: string, sorter: {
    columnKey: string;
    order: string;
}) => SortOrder;
//# sourceMappingURL=helpers.d.ts.map