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) • 680 B
TypeScript
/** @format */
import { HuffmanNode } from './huffman-node.js';
/**
* Represents a parent node in a Huffman tree.
*/
export declare class HuffmanParent extends HuffmanNode {
/**
* The children nodes of this parent node.
*/
private readonly _children;
/**
* Gets the children nodes of this parent node.
* @returns {Array<HuffmanNode | undefined>} The children nodes.
*/
get children(): Array<HuffmanNode | undefined>;
/**
* Creates an instance of HuffmanParent.
* @param {Array<HuffmanNode | undefined>} children - The children nodes of this parent node.
*/
constructor(children: Array<HuffmanNode | undefined>);
}