import type { FSDBRepository } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { MongoDBRepository } from '@becomes/purple-cheetah-mod-mongodb/types'; import type { Module } from '@becomes/purple-cheetah/types'; import { User } from './models'; export interface UserRepoMethods { findAllByOrgId(orgId: string): Promise; findByIdAndOrgId(id: string, orgId: string): Promise; findByEmail(email: string): Promise; findByOauthId(oauthId: string): Promise; findOrgOwner(orgId: string): Promise; findAllAdmin(): Promise; } export type UserRepo = MongoDBRepository | FSDBRepository; export declare function createUserRepo(): Module;