Debian Codegraph @

node/@bufbuild/protobuf/dist/commonjs/wire/text-format.d.ts

raw
1 import { type DescEnum, ScalarType } from "../descriptors.js";
2 /**
3 * Parse an enum value from the Protobuf text format.
4 *
5 * @private
6 */
7 export declare function parseTextFormatEnumValue(descEnum: DescEnum, value: string): number;
8 /**
9 * Parse a scalar value from the Protobuf text format.
10 *
11 * @private
12 */
13 export declare function parseTextFormatScalarValue(type: ScalarType, value: string): number | boolean | string | bigint | Uint8Array;