1 | import type { HexString } from '../types.js';
|
2 | interface Registry {
|
3 | get: (...params: never[]) => any;
|
4 | }
|
5 | interface Codec {
|
6 | readonly registry: Registry;
|
7 | toHex(...params: never[]): HexString;
|
8 | toHuman(...params: never[]): unknown;
|
9 | toU8a: (...params: never[]) => Uint8Array;
|
10 | }
|
11 | export declare function isCodec<T extends Codec = Codec>(value?: unknown): value is T;
|
12 | export {};
|