import { ConfigService } from '@nestjs/config'; import { VerificationType } from '../../../enums'; import { VerificationTokenData, VerificationTokenService } from './services'; import { VerificationModuleOptions } from './verification.module'; export declare class VerificationService { private verificationModuleOptions; private verificationTokenService; private configService; private readonly logger; private readonly tokenType; private readonly tokenLength; private readonly tokenPrefix; constructor(verificationModuleOptions: VerificationModuleOptions, verificationTokenService: VerificationTokenService, configService: ConfigService); useWith(sessionManager: any): VerificationService; createToken(type: VerificationType, accountId: string | number, expiresAt: Date): Promise; findToken(token: string, type?: VerificationType): Promise; findAndValidateToken(token: string, type?: VerificationType): Promise<{ verificationToken?: VerificationTokenData; error?: string; }>; deleteToken(id: string | number): Promise; generateToken(): string; private setVerificationTokenService; }