import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "valhalla"; /** the type of statistic we are recording */ export declare enum StatisticType { count = 0, gauge = 1, timing = 2, set = 3, UNRECOGNIZED = -1 } export declare function statisticTypeFromJSON(object: any): StatisticType; export declare function statisticTypeToJSON(object: StatisticType): string; export interface Statistic { /** the key/name of the statistic */ key: string; /** the value of the statistic */ value: number; /** how often to report the statistic [0-1] */ frequency: number; /** what type is it */ type: StatisticType; } export interface CodedDescription { description: string; code: number; } export interface Info { /** stats that we collect during request processing */ statistics: Statistic[]; /** errors that occurred during request processing */ errors: CodedDescription[]; /** warnings that occurred during request processing */ warnings: CodedDescription[]; /** was this a service request/response rather than a direct call to the library */ isService: boolean; } export declare const Statistic: MessageFns; export declare const CodedDescription: MessageFns; export declare const Info: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {}; //# sourceMappingURL=info.d.ts.map