import { ConfigService } from '@nestjs/config';
export declare class SecurityService {
    private readonly configService;
    constructor(configService: ConfigService);
    getJwtSecret(): string;
    getValueWithPepper(value: string, pepper?: string): string;
    hashWithPepper(value: string): string;
    randomOpaque(size?: number): string;
    hashSha256(value: string): string;
    hashArgon2(value: string, pepper?: string): Promise<string>;
    validatePassword(locale: string, credentials: {
        hash: string;
    }[], password: string): Promise<boolean>;
    verifyArgon2(value: string, hash: string, pepper?: string): Promise<boolean>;
    encrypt(value: string, secret?: string): string;
    decrypt(encryptedValue: string, secret?: string): string;
    private resolveEncryptionSecret;
    generateCode(length: number): string;
}
//# sourceMappingURL=security.service.d.ts.map