@ckb-ccc/core
Version:
Core of CCC - CKBer's Codebase
57 lines • 4.64 kB
TypeScript
import { Hex, HexLike } from "../hex/index.js";
import { Codec } from "./codec.js";
export declare const Uint8: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint8Opt: Codec<import("../barrel.js").NumLike | null | undefined, number | undefined>;
export declare const Uint8Vec: Codec<import("../barrel.js").NumLike[], number[]>;
export declare const Uint16LE: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint16BE: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint16: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint16Opt: Codec<import("../barrel.js").NumLike | null | undefined, number | undefined>;
export declare const Uint16Vec: Codec<import("../barrel.js").NumLike[], number[]>;
export declare const Uint32LE: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint32BE: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint32: Codec<import("../barrel.js").NumLike, number>;
export declare const Uint32Opt: Codec<import("../barrel.js").NumLike | null | undefined, number | undefined>;
export declare const Uint32Vec: Codec<import("../barrel.js").NumLike[], number[]>;
export declare const Uint64LE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint64BE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint64: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint64Opt: Codec<import("../barrel.js").NumLike | null | undefined, bigint | undefined>;
export declare const Uint64Vec: Codec<import("../barrel.js").NumLike[], bigint[]>;
export declare const Uint128LE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint128BE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint128: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint128Opt: Codec<import("../barrel.js").NumLike | null | undefined, bigint | undefined>;
export declare const Uint128Vec: Codec<import("../barrel.js").NumLike[], bigint[]>;
export declare const Uint256LE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint256BE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint256: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint256Opt: Codec<import("../barrel.js").NumLike | null | undefined, bigint | undefined>;
export declare const Uint256Vec: Codec<import("../barrel.js").NumLike[], bigint[]>;
export declare const Uint512LE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint512BE: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint512: Codec<import("../barrel.js").NumLike, bigint>;
export declare const Uint512Opt: Codec<import("../barrel.js").NumLike | null | undefined, bigint | undefined>;
export declare const Uint512Vec: Codec<import("../barrel.js").NumLike[], bigint[]>;
export declare const Bytes: Codec<HexLike, Hex>;
export declare const BytesOpt: Codec<import("../barrel.js").BytesLike | null | undefined, `0x${string}` | undefined>;
export declare const BytesVec: Codec<import("../barrel.js").BytesLike[], `0x${string}`[]>;
export declare const Bool: Codec<boolean>;
export declare const BoolOpt: Codec<boolean | null | undefined, boolean | undefined>;
export declare const BoolVec: Codec<boolean[], boolean[]>;
export declare const Byte4: Codec<HexLike, Hex>;
export declare const Byte4Opt: Codec<import("../barrel.js").BytesLike | null | undefined, `0x${string}` | undefined>;
export declare const Byte4Vec: Codec<import("../barrel.js").BytesLike[], `0x${string}`[]>;
export declare const Byte8: Codec<HexLike, Hex>;
export declare const Byte8Opt: Codec<import("../barrel.js").BytesLike | null | undefined, `0x${string}` | undefined>;
export declare const Byte8Vec: Codec<import("../barrel.js").BytesLike[], `0x${string}`[]>;
export declare const Byte16: Codec<HexLike, Hex>;
export declare const Byte16Opt: Codec<import("../barrel.js").BytesLike | null | undefined, `0x${string}` | undefined>;
export declare const Byte16Vec: Codec<import("../barrel.js").BytesLike[], `0x${string}`[]>;
export declare const Byte32: Codec<HexLike, Hex>;
export declare const Byte32Opt: Codec<import("../barrel.js").BytesLike | null | undefined, `0x${string}` | undefined>;
export declare const Byte32Vec: Codec<import("../barrel.js").BytesLike[], `0x${string}`[]>;
export declare const String: Codec<string, string>;
export declare const StringVec: Codec<string[], string[]>;
export declare const StringOpt: Codec<string | null | undefined, string | undefined>;
//# sourceMappingURL=predefined.d.ts.map