import { Repository } from 'typeorm'; import { NestAuthUser } from '../../user/entities/user.entity'; import { NestAuthIdentity } from '../../user/entities/identity.entity'; import { BaseAuthProvider, LinkUserWith } from './base-auth.provider'; import { PhoneCredentialsDto } from '../../auth/dto/credentials/phone-credentials.dto'; export declare class PhoneAuthProvider extends BaseAuthProvider { protected readonly userRepository: Repository; protected readonly authIdentityRepository: Repository; providerName: string; protected resolveEnabled(): boolean; constructor(userRepository: Repository, authIdentityRepository: Repository); findIdentity(providerUserId: string, tenantId?: string): Promise; validate(credentials: PhoneCredentialsDto, tenantId?: string): Promise<{ userId: string; phone: string; metadata: NestAuthUser; }>; getRequiredFields(): string[]; linkToUser(userId: string, providerUserId: string, metadata?: Record): Promise; linkUserWith(): LinkUserWith; } //# sourceMappingURL=phone-auth.provider.d.ts.map