/** * Helpers for inspecting raw `BinaryNode` stanza trees, ported 1:1 * from upstream Baileys' `WABinary/generic-utils.ts`. baileyrs has the * same `BinaryNode` shape (`{ tag, attrs, content }`), so the * implementations are byte-identical. */ import type { BinaryNode } from '../Types/index.js'; export declare const getBinaryNodeChildren: (node: BinaryNode | undefined, childTag: string) => BinaryNode[]; export declare const getBinaryNodeChild: (node: BinaryNode | undefined, childTag: string) => BinaryNode | undefined; /** * Throws a `Boom` when the response stanza carries an `` child. * Mirrors upstream `assertNodeErrorFree` — used in IQ response paths * where the server signals failure via a sibling `` instead of * a top-level rejection. */ export declare const assertNodeErrorFree: (node: BinaryNode) => void; //# sourceMappingURL=generic-utils.d.ts.map