import { Token as TokenEntity } from '../core/entity/Token.ts'; import { User as UserEntity } from '../core/entity/User.ts'; import { WebauthnCredential as WebauthnCredentialEntity } from '../core/entity/WebauthnCredential.ts'; import { AbstractRepository } from './AbstractRepository.ts'; export declare class UserRepository extends AbstractRepository { private readonly User; private readonly Token; private readonly TokenPackage; private readonly Package; private readonly packageRepository; private readonly WebauthnCredential; saveUser(user: UserEntity): Promise; findUserByName(name: string): Promise; findUserByUserId(userId: string): Promise; findUsersByUserIds(userIds: string[]): Promise; findUserAndTokenByTokenKey(tokenKey: string): Promise<{ token: TokenEntity; user: UserEntity; } | null>; findTokenByTokenKey(tokenKey: string): Promise; private _injectTokenPackages; saveToken(token: TokenEntity): Promise; removeToken(tokenId: string): Promise; listTokens(userId: string): Promise; saveCredential(credential: WebauthnCredentialEntity): Promise; findCredentialByUserIdAndBrowserType(userId: string | undefined, browserType: string | null): Promise; removeCredential(wancId: string): Promise; }