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