UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

22 lines (21 loc) 605 B
/** @format */ import { HuffmanNode } from './huffman-node.js'; /** * Represents a Huffman value node which extends HuffmanNode. */ export declare class HuffmanValue extends HuffmanNode { /** * The value stored in the Huffman node. */ private readonly _value; /** * Gets the value stored in the Huffman node. * @returns {number} The value of the node. */ get value(): number; /** * Initializes a new instance of the HuffmanValue class. * @param {number} value - The value to be stored in the Huffman node. */ constructor(value: number); }