import { DataSource } from 'typeorm'; import { ConfigService } from '@nestjs/config'; import { ClockIDGenService } from '../../../utils/service/clockIDGenUtil.service'; import { Otp } from '../entity/otp.entity'; import { OtpRepository } from '../repository/otp.repository'; import { LoginService } from './../../user/service/login.service'; import { EmailService } from './email.service'; export declare class OtpService { private readonly otpRepository; private readonly idGen; private configService; private readonly loginService; private readonly emailService; private readonly dataSource; constructor(otpRepository: OtpRepository, idGen: ClockIDGenService, configService: ConfigService, loginService: LoginService, emailService: EmailService, dataSource: DataSource); VERIFY_OTP: any; DEFAULT_OTP: any; generate(identifier: string, service: string, expiresIn?: number, otpLength?: number): Promise; verifyOtp(data: { otp: string; otp_id: string; identifier: string; subdomain: string; fcm_token: string; browser?: string; ip?: string; os?: string; }): Promise; findByOtpId(otpId: string): Promise; private generateOtp; }