/** * Encoders and decoders for the two `depot.build.v1.BuildService` RPCs this server calls over * Connect's binary protobuf encoding, because their JSON binding is broken on Depot's side (see * `protobuf.ts`). Field numbers come from Depot's published schema, * https://github.com/depot/proto/blob/main/proto/depot/build/v1/build.proto (fetched 2026-09-06). * * Decoders return the same camelCase JSON shape the JSON binding would have produced, so the * parsers in `lib/build.ts` and the recorded fixtures in `test/fixtures/` stay valid. */ import type { BuildStepLogsRequest, BuildStepsRequest } from './api.js'; import type { JsonObject } from './shape.js'; export declare function encodeGetBuildStepsRequest(request: BuildStepsRequest): Uint8Array; export declare function encodeGetBuildStepLogsRequest(request: BuildStepLogsRequest): Uint8Array; export declare function decodeGetBuildStepsResponse(bytes: Uint8Array): JsonObject; export declare function decodeGetBuildStepLogsResponse(bytes: Uint8Array): JsonObject; /** * Test-only helper: turn an encoded request back into the object a JSON request would have * carried, so recorded calls can be asserted the same way for both encodings. */ export declare function decodeBuildRequestForInspection(method: string, bytes: Uint8Array): JsonObject; //# sourceMappingURL=build-proto.d.ts.map