import { IEncryptionKey } from '../../protocols/encryption-key.js';

interface EnvEncryptionKeyOptions {
    /** Defaults to `process.env`. Tests inject a fixture. */
    env?: NodeJS.ProcessEnv;
    /** Defaults to `'INTEGRATION_TOKEN_ENCRYPTION_KEY'`. */
    envVar?: string;
}
declare class EnvEncryptionKey implements IEncryptionKey {
    private readonly key;
    constructor(opts?: EnvEncryptionKeyOptions);
    encrypt(plaintext: string): Promise<string>;
    decrypt(ciphertext: string): Promise<string>;
}

export { EnvEncryptionKey, type EnvEncryptionKeyOptions };
