Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
jajbshjahavahh
GitHub Repository: jajbshjahavahh/Gojo-Satoru
Path: blob/master/node_modules/@adiwajshing/baileys/lib/WABinary/generic-utils.d_1.ts
2593 views
1
/// <reference types="node" />
2
import { proto } from '../../WAProto';
3
import { BinaryNode } from './types';
4
export declare const getBinaryNodeChildren: ({ content }: BinaryNode, childTag: string) => BinaryNode[];
5
export declare const getAllBinaryNodeChildren: ({ content }: BinaryNode) => BinaryNode[];
6
export declare const getBinaryNodeChild: ({ content }: BinaryNode, childTag: string) => BinaryNode;
7
export declare const getBinaryNodeChildBuffer: (node: BinaryNode, childTag: string) => Uint8Array | Buffer;
8
export declare const getBinaryNodeChildUInt: (node: BinaryNode, childTag: string, length: number) => number;
9
export declare const assertNodeErrorFree: (node: BinaryNode) => void;
10
export declare const reduceBinaryNodeToDictionary: (node: BinaryNode, tag: string) => {
11
[_: string]: string;
12
};
13
export declare const getBinaryNodeMessages: ({ content }: BinaryNode) => proto.WebMessageInfo[];
14
15