/// <reference types="node" />
import { JsonWebEncryptionCompressionAlgorithm } from './jsonwebencryption-compression.algorithm';
/**
 * Implementation of the DEFLATE JSON Web Encryption Compression Algorithm.
 */
declare class DEFCompressionAlgorithm extends JsonWebEncryptionCompressionAlgorithm {
    /**
     * Instantiates a new DEFLATE JSON Web Encryption Compression Algorithm to Compress and Decompress a Plaintext.
     */
    constructor();
    /**
     * Compresses the provided Plaintext before Encryption.
     *
     * @param plaintext Plaintext to be Compressed.
     * @returns Compressed Plaintext.
     */
    compress(plaintext: Buffer): Promise<Buffer>;
    /**
     * Decompresses the provided Compressed Plaintext after Decryption.
     *
     * @param plaintext Compressed Plaintext to be Decompressed.
     * @returns Decompressed Plaintext.
     */
    decompress(plaintext: Buffer): Promise<Buffer>;
}
/**
 * JSON Web Encryption **DEFLATE** Compression Algorithm.
 */
export declare const DEF: DEFCompressionAlgorithm;
export {};
