import { AnyCodec, BytesCodec, BytesLike, FixedBytesCodec, PackParam, UnpackResult } from "./base"; export declare function createFixedHexBytesCodec(byteLength: number): FixedBytesCodec; /** * placeholder codec, generally used as a placeholder * ``` * // for example, when some BytesOpt is not used, it will be filled with this codec * // option BytesOpt (Bytes); * const UnusedBytesOpt = UnknownOpt * ``` */ export declare const Bytes: BytesCodec; export declare const BytesOpt: import("./molecule").OptionLayoutCodec>; export declare const BytesVec: import("./molecule").ArrayLayoutCodec>; export declare const Byte32: FixedBytesCodec; export declare const Byte32Vec: import("./molecule").ArrayLayoutCodec>; export declare function WitnessArgsOf(payload: { lock: LockCodec; input_type: InputTypeCodec; output_type: OutputTypeCodec; }): BytesCodec<{ lock?: UnpackResult; input_type?: UnpackResult; output_type?: UnpackResult; }, { lock?: PackParam; input_type?: PackParam; output_type?: PackParam; }>; /** * * @example * ```ts * // secp256k1 lock witness * WitnessArgs.pack({ lock: '0x' + '00'.repeat(65) }) * ``` */ export declare const WitnessArgs: BytesCodec<{ lock?: string | undefined; input_type?: string | undefined; output_type?: string | undefined; }, { lock?: BytesLike | undefined; input_type?: BytesLike | undefined; output_type?: BytesLike | undefined; }>; //# sourceMappingURL=blockchain.d.ts.map