@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
15 lines (14 loc) • 664 B
TypeScript
import { PAsData, PLam } from "../../../../PTypes/index.js";
import { Term } from "../../../../Term/index.js";
import { TermType } from "../../../../type_system/index.js";
import { ToPType } from "../../../../type_system/ts-pluts-conversion.js";
export declare function _toData<T extends TermType>(t: T): (term: Term<ToPType<T>>) => Term<PAsData<ToPType<T>>>;
/**
* @deprecated use `_toData` instead
*/
export declare const toData_minimal: typeof _toData;
export declare function _ptoData<T extends TermType>(t: T): Term<PLam<ToPType<T>, PAsData<ToPType<T>>>>;
/**
* @deprecated use `_ptoData` instead
*/
export declare const ptoData_minimal: typeof _ptoData;