/** * A2A's messages in Protocol Buffers, as `specification/a2a.proto` of protocol 1.0 numbers them * (package `lf.a2a.v1`): each turned into, and read from, the JSON the other bindings carry, so the * gRPC binding calls the same methods with the same params. With `google.protobuf.Struct`, `Value`, * `Timestamp`, and `google.rpc.Status`. A card's security schemes, requirements, and signatures are * written and read as the card's JSON has them. */ /** Each method of `lf.a2a.v1.A2AService`: what it takes, what it answers, and whether it streams. */ export declare const A2A_GRPC_METHODS: Readonly>; /** The service's path prefix: `/lf.a2a.v1.A2AService/`. */ export declare const A2A_GRPC_SERVICE = "lf.a2a.v1.A2AService"; /** Writes the JSON of a message as its Protocol Buffers bytes. */ export declare function encodeA2a(type: string, value: unknown): Uint8Array; /** Reads a message's bytes as its JSON. */ export declare function decodeA2a(type: string, bytes: Uint8Array): Record; /** A `google.rpc.Status` with A2A's `ErrorInfo`, as `grpc-status-details-bin` carries it. */ export declare function encodeA2aStatus(code: number, message: string, reason: string): Uint8Array; /** The `ErrorInfo` reason of a `google.rpc.Status`, when it has one. */ export declare function a2aStatusReason(bytes: Uint8Array): { message?: string; reason?: string; };