/** * MFA Provider Registration * * Dynamically loads and registers MFA providers with the MFAService. */ import { Repository } from 'typeorm'; import { NAuthConfig, NAuthLogger, MFAService, BaseMFADevice, BaseUser, PhoneVerificationService, EmailVerificationService, AuthAuditService, ClientInfoService } from '../../index'; import { PasswordService, ChallengeService } from '../../internal'; /** * Register MFA providers with the MFA service * * Dynamically imports MFA provider packages based on configuration. * Each provider is initialized with required services and registered. * * @param config - NAuth configuration * @param mfaService - MFA management service * @param mfaDeviceRepository - MFA device repository * @param userRepository - User repository * @param logger - Logger instance * @param passwordService - Password service (required by base provider) * @param phoneVerificationService - Phone verification service (optional, for SMS MFA) * @param challengeService - Challenge service (optional) * @param auditService - Audit service (optional) * @param clientInfoService - Client info service (optional) */ export declare function registerMFAProviders(config: NAuthConfig, mfaService: MFAService, mfaDeviceRepository: Repository, userRepository: Repository, logger: NAuthLogger, passwordService: PasswordService, emailVerificationService: EmailVerificationService, phoneVerificationService?: PhoneVerificationService, challengeService?: ChallengeService, auditService?: AuthAuditService, clientInfoService?: ClientInfoService): Promise; //# sourceMappingURL=register-mfa.d.ts.map