import { Repository } from 'typeorm'; import { BaseAuthProvider } from './base-auth.provider'; import { NestAuthUser } from '../../user/entities/user.entity'; import { NestAuthIdentity } from '../../user/entities/identity.entity'; import { EmailCredentialsDto } from '../../auth/dto/credentials/email-credentials.dto'; export declare class EmailAuthProvider 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; linkToUser(userId: string, providerUserId: string, metadata?: Record): Promise; validate(credentials: EmailCredentialsDto, tenantId?: string): Promise<{ userId: string; email: string; metadata: NestAuthUser; }>; getRequiredFields(): string[]; } //# sourceMappingURL=email-auth.provider.d.ts.map