import { QueryConstraint as Constraint } from '@lemasc/firebase-wrapper/firestore'; /** * This is a mock `QueryConstraint` interface that also accepts a `Doc` type argument. * This makes custom `where` and `orderBy` functions have intellisense working. */ export interface TypedQueryConstraint> extends Constraint { __doc?: Doc; } export declare type QueryConstraint> = Constraint | TypedQueryConstraint; export declare type CollectionQueryType> = { constraints?: QueryConstraint[]; isCollectionGroup?: boolean; };