import { type FirebaseAuthOwnershipKey, type FirebaseAuthUserId, type FirestoreQueryConstraint } from '../../common'; import { type OidcEntryType } from './oidcmodel'; /** * Query for OidcEntry documents with a specific type. * * @param type - the OIDC entry type to filter by * @returns Firestore query constraints for the given type */ export declare function oidcEntriesWithTypeQuery(type: OidcEntryType): FirestoreQueryConstraint[]; /** * Query for OidcEntry documents with a specific type and userCode. * * @param type - the OIDC entry type to filter by * @param userCode - the user code to match * @returns Firestore query constraints for the given type and userCode */ export declare function oidcEntriesByUserCodeQuery(type: OidcEntryType, userCode: string): FirestoreQueryConstraint[]; /** * Query for OidcEntry documents with a specific type and uid. * * @param type - the OIDC entry type to filter by * @param uid - the Firebase user ID to match * @returns Firestore query constraints for the given type and uid */ export declare function oidcEntriesByUidQuery(type: OidcEntryType, uid: FirebaseAuthUserId): FirestoreQueryConstraint[]; /** * Query for OidcEntry documents with a specific type and grantId. * * @param type - the OIDC entry type to filter by * @param grantId - the grant ID to match * @returns Firestore query constraints for the given type and grantId */ export declare function oidcEntriesByGrantIdQuery(type: OidcEntryType, grantId: string): FirestoreQueryConstraint[]; /** * Query for OidcEntry Client documents owned by a specific user. * * @param ownershipKey - the ownership key identifying the owner * @returns Firestore query constraints for Client entries matching the ownership key */ export declare function oidcClientEntriesByOwnerQuery(ownershipKey: FirebaseAuthOwnershipKey): FirestoreQueryConstraint[];