import { AuthService, Credentials, NewUser, UserProfile } from '@rondo.dev/common'; import { TypeORMDatabase } from '@rondo.dev/db-typeorm'; export declare class SQLAuthService implements AuthService { protected readonly db: TypeORMDatabase; constructor(db: TypeORMDatabase); createUser(payload: NewUser): Promise; findOne(id: number): Promise<{ id: number; username: string; firstName: string | null; lastName: string | null; } | undefined>; findUserByEmail(email: string): Promise<{ id: number; username: string; firstName: string | null; lastName: string | null; } | undefined>; changePassword(params: { userId: number; oldPassword: string; newPassword: string; }): Promise; validateCredentials(credentials: Credentials): Promise<{ id: number; username: string; firstName: string | null; lastName: string | null; } | undefined>; findUserEmails(userId: number): Promise; protected hash(password: string): Promise; } //# sourceMappingURL=SQLAuthService.d.ts.map