import { type MockItem } from './mock.item'; import { type FirestoreQueryConstraint, type DocumentReference } from '@dereekb/firebase'; /** * Creates a Firestore query constraint that filters {@link MockItem} documents by their `value` field. * * @example * ```ts * const constraint = mockItemWithValue('hello'); * const results = await collection.query(constraint); * ``` */ export declare function mockItemWithValue(value: string): FirestoreQueryConstraint; /** * Creates a Firestore query constraint that filters {@link MockItem} documents by their `test` boolean field. */ export declare function mockItemWithTestValue(test: boolean): FirestoreQueryConstraint; /** * This sorts all fields by their document ID, then filters in between two specific document id paths in order to only return values between a specific path. * * Visual Example: * * /a/b/c/c/a * /a/b/c/d/A * /a/b/c/d/B * /a/b/c/d/C * /a/b/c/e/a * * From: * https://medium.com/firebase-developers/how-to-query-collections-in-firestore-under-a-certain-path-6a0d686cebd2 * * @param parent * @returns */ export declare function allChildMockItemSubItemDeepsWithinMockItem(mockItem: DocumentReference): FirestoreQueryConstraint[];