import DateTime from "@entity-access/entity-access/dist/types/DateTime.js"; import type LoginSession from "./LoginSession.js"; import type UserAuthFactor from "./UserAuthFactor.js"; declare const verificationTypes: readonly ["email", "sms", "captcha", "totp", "sms-to-user"]; export type verificationType = typeof verificationTypes[number]; export default class VerificationToken { verificationID: number; externalID: string; /** * This will be saved if userID exists for given email/phone if * verification was successful. */ userID: number; dateCreated: DateTime; expiry: DateTime; email: string; phone: string; verified: boolean; code: string; accessCode: string; ipAddress: string; attempt: number; externalConfig: string; type: verificationType; webSiteFolderID: number; addresses: VerificationTokenAddress[]; loginSessions: LoginSession[]; authFactors: UserAuthFactor[]; smsConfig: any; verifyAddresses: string; verifyCode: string; captchaUrl: string; } export declare class VerificationTokenAddress { verificationID: number; address: string; displayAddress: string; verificationToken: VerificationToken; } export {}; //# sourceMappingURL=VerificationToken.d.ts.map