/** * SCALE codec adapter. * * Wraps the protocol's `Message` codec into a `CodecAdapter` for use by * the transport layer. */ import type { Codec } from "scale-ts"; import type { CodecAdapter } from "../adapter.js"; export declare function createScaleCodecAdapter(messageCodec: Codec<{ requestId: string; payload: { tag: string; value: unknown; }; }>): CodecAdapter; /** Ready-to-use SCALE codec adapter for the full protocol. */ export declare const scaleCodecAdapter: CodecAdapter; //# sourceMappingURL=adapter.d.ts.map