import { NestAuthUser } from '../../user/entities/user.entity';
import { NestAuthOTPTypeEnum } from '@ackplus/nest-auth-contracts';
import { BaseEntity } from 'typeorm';
export declare class NestAuthOTP extends BaseEntity {
    id: string;
    userId: string;
    code: string;
    type: NestAuthOTPTypeEnum;
    expiresAt: Date;
    createdAt: Date;
    updatedAt: Date;
    user?: NestAuthUser;
    private getOtpSecret;
    validateCode(code: string): Promise<boolean>;
    setCode(code: string): Promise<void>;
}
//# sourceMappingURL=otp.entity.d.ts.map