@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
6 lines (5 loc) • 529 B
TypeScript
import { GenericStructDefinition, SopCtorDef, SopDefinition, StructCtorDef } from "../../type_system/index.js";
export declare function cloneSopCtorDef<CtorDef extends SopCtorDef>(ctorDef: Readonly<CtorDef>): CtorDef;
export declare const cloneStructCtorDef: <CtorDef extends StructCtorDef>(ctorDef: Readonly<CtorDef>) => CtorDef;
export declare function cloneSopDef<SDef extends SopDefinition>(def: Readonly<SDef>): SDef;
export declare const cloneStructDef: <SDef extends GenericStructDefinition>(def: Readonly<SDef>) => SDef;