superchats
Version:
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
8 lines (7 loc) • 469 B
TypeScript
/// <reference types="node" />
import type { BinaryNode, BinaryNodeCodingOptions } from './types';
export declare const decompressingIfRequired: (buffer: Buffer) => Promise<Buffer>;
export declare const decodeDecompressedBinaryNode: (buffer: Buffer, opts: Pick<BinaryNodeCodingOptions, 'DOUBLE_BYTE_TOKENS' | 'SINGLE_BYTE_TOKENS' | 'TAGS'>, indexRef?: {
index: number;
}) => BinaryNode;
export declare const decodeBinaryNode: (buff: Buffer) => Promise<BinaryNode>;