/// autogenerated by protoc-plugin-js import type { LiteralUnion } from 'type-fest' export const METHOD_UNSPECIFIED = 0 export const METHOD_MARGINAL_COST = 1 export const METHOD_WEIGHTED_AVERAGE = 2 export const METHOD_CONSTANT = 3 export type Values = 0 | 1 | 2 | 3 export type Names = | 'METHOD_UNSPECIFIED' | 'METHOD_MARGINAL_COST' | 'METHOD_WEIGHTED_AVERAGE' | 'METHOD_CONSTANT' export const enum Method { METHOD_UNSPECIFIED = 0, METHOD_MARGINAL_COST = 1, METHOD_WEIGHTED_AVERAGE = 2, METHOD_CONSTANT = 3 } declare const enumValues: Map declare const enumNames: Map export function encode( value: Values | Names, buf: Uint8Array, byteOffset: number ): Uint8Array export function decode(varint: bigint): LiteralUnion export function encodingLength(value: LiteralUnion): number export function stringify(int: Values): LiteralUnion export function parse(str: Names): LiteralUnion