import { RedisService } from "../../../../core/cache/redis/redis.service";
export declare class MfaService {
    private readonly redis;
    private readonly logger;
    private readonly challengeTtlSec;
    constructor(redis: RedisService);
    generateSecret(accountName: string): {
        secret: string;
        otpauthUrl: string;
    };
    verify(secret: string, token: string): boolean;
    createChallenge(userId: string, operation: string): Promise<string>;
    consumeChallenge(challengeId: string, userId: string, operation: string): Promise<boolean>;
}
