import { QueryConstraint } from 'firebase/firestore'; import { FireStoreCollectionRef, FireStoreQuery } from 'misc/firebase-models'; import { IFirestoreLogger, messageTypes } from '../../misc'; interface ParamsToQueryOptions { filters?: boolean; sort?: boolean; pagination?: boolean; } interface QueryPair { noPagination: FireStoreQuery; withPagination: FireStoreQuery; } export declare function paramsToQuery(collection: FireStoreCollectionRef, params: TParams, resourceName: string, flogger: IFirestoreLogger, options?: ParamsToQueryOptions): Promise; export declare function getFiltersConstraints(filters: { [fieldName: string]: any; }): QueryConstraint[]; export declare function getSortConstraints(sort: { field: string; order: string; }): QueryConstraint[]; export declare function getFullParamsForQuery(reactAdminParams: TParams, softdeleteEnabled: boolean): TParams; export declare function getNextPageParams(params: TParams): TParams; export {};