import { EnvironmentService } from '../environment/environment.service';
export declare enum EncryptionPurpose {
    SIEM_CREDENTIALS = "siem-credentials",
    INTEGRATION_TOKENS = "integration-tokens",
    OAUTH_COMPLETION = "oauth-completion"
}
export declare class EncryptionService {
    private readonly appSecret;
    private readonly keys;
    constructor(environmentService: EnvironmentService);
    encrypt(plaintext: string, purpose: EncryptionPurpose): string;
    decrypt(encrypted: string, purpose: EncryptionPurpose): string;
    private keyFor;
    private header;
    private aad;
    private assertPurpose;
    private decode;
    private decodeBase64;
    private decryptLegacy;
}
