import { OTP } from "./types/session"; import { OTPTransportIdentifier } from "./types/otp"; export declare class OTPManager { private encrypt; constructor(); /** * * @param transportIdentifier OTPTransportIdentifier * @returns */ generateOTP(transportIdentifier: OTPTransportIdentifier): Promise<{ otp: string; expireTime: Date; key: string; otpID: string; }>; /** * * @param otpDetails * @returns */ generateOTPKey(otpDetails: any): Promise; validateOTP(OTP: string, key: string, identifier: OTPTransportIdentifier): Promise; saveOTP(otp: OTP): Promise; getOTP(otpID: string): Promise; AddMinutesToDate(date: Date, minutes: number): Date; getOTPExpireTime(): Date; } export default OTPManager;