import { BcFilter, BcSorter } from '../interfaces/filters'; /** * TODO * * @param filters */ export declare function getFilters(filters: BcFilter[]): Record; /** * TODO * * @param sorters */ export declare function getSorters(sorters: BcSorter[]): Record; /** * Function for parsing filters from string into BcFilter type * * @param defaultFilters string representation of filters */ export declare function parseFilters(defaultFilters: string): BcFilter[]; /** * Parse sorter string into separate sorter objects. * String representation of sorters is url based: * "_sort.{order}.{direction}={fieldKey}&_sort.{order}.{direction}" * @param fieldKey Sort by field * @param order Priority of this specfic sorter * @param direction "asc" or "desc" * * i.e. "_sort.0.asc=firstName" * * @param sorters string representation of sorters */ export declare function parseSorters(sorters: string): BcSorter[];