/** @format */
/**
 * Represents a Huffman code with its bit length and value.
 */
export declare class HuffmanCode {
    /** Number of bits in the Huffman code. */
    bits: number;
    /** Value of the Huffman code. */
    value: number;
    /**
     * Creates a new HuffmanCode instance.
     * @param bits Number of bits in the code.
     * @param value Value of the code.
     */
    constructor(bits?: number, value?: number);
    /**
     * Creates a copy of the given HuffmanCode instance.
     * @param other HuffmanCode to copy.
     * @returns New HuffmanCode instance with the same bits and value.
     */
    static from(other: HuffmanCode): HuffmanCode;
}
