import { CrudityFilterObject } from './../../interfaces/CrudityQueryString'; import { Document, Filter, Sort } from 'mongodb'; import { Idable } from '../../interfaces/Idable'; export declare const renameId: (doc: Document) => T; export declare const renameIdForArray: (docs: Document[]) => T[]; export declare const removeId: (a: T) => Omit; export declare const getSortArgs: (orderByStr: string) => { direction: 1 | -1; field: string; }; export declare const getSortObj: (orderBySpec: string) => Sort; export declare const getFilterObj: (filter: CrudityFilterObject | undefined) => Filter;