import type { RuntimeWireMessage } from '../types.js';
import type { RuntimeStreamMethodCodec, RuntimeUnaryMethodCodec } from './method-codecs.js';
export declare function encodeRequest<Request>(methodId: string, codec: RuntimeUnaryMethodCodec<Request, unknown> | RuntimeStreamMethodCodec<Request, unknown>, request: Request): RuntimeWireMessage;
export declare function decodeUnaryResponse<Response>(methodId: string, codec: RuntimeUnaryMethodCodec<unknown, Response>, payload: RuntimeWireMessage): Response;
export declare function decodeStreamEvent<Event>(methodId: string, codec: RuntimeStreamMethodCodec<unknown, Event>, payload: RuntimeWireMessage): Event;
//# sourceMappingURL=client-codec.d.ts.map