import type { HexString } from '../types'; interface Registry { get: (...params: unknown[]) => unknown; } interface Codec { readonly registry: Registry; toHex(isLe?: boolean): HexString; toU8a: (isBare?: unknown) => Uint8Array; } export declare function isCodec(value?: unknown): value is T; export {};