Files
memecoin-botV2/.pnpm-store/v10/files/6d/098d6177c778dde658b2a7bc1a642c562e1d518d6b4929eef3204a11274db88ee2fc4514f7be80cd8391a79d3fa76133baf3c1cf859fa6840b664d590d493a

15 lines
579 B
Plaintext

import type { Node, SourceFile } from "../../ast/index.ts";
/**
* Encode a SourceFile AST node into the binary format.
*/
export declare function encodeSourceFile(sourceFile: SourceFile): Uint8Array;
/**
* Encode an arbitrary AST node into the binary format.
* When encoding a non-SourceFile node, the header hash and parse options fields will be zero.
*/
export declare function encodeNode(node: Node): Uint8Array;
/**
* Encode a Uint8Array to a base64 string.
*/
export declare function uint8ArrayToBase64(data: Uint8Array): string;
//# sourceMappingURL=encoder.d.ts.map