UNPKG

480 BTypeScriptView Raw
1/// <reference types="node" />
2export declare function resolveImportPath(origin: string, target: string): string;
3export declare function encodeProto(protoDefPath: string, attributes: {}, outerClass: string): Buffer;
4export declare function encodeProtoWithEncoding(protoDefPath: string, attributes: {}, outerClass: string, encoding: string): string;
5export declare function decodeProto(protoDefPath: string, outerClass: string, buffer: Uint8Array): {
6 [k: string]: unknown;
7};