@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
5 lines (4 loc) • 427 B
TypeScript
import { TermFn, PPair } from "../../../PTypes/index.js";
import { TermType, ToPType } from "../../../type_system/index.js";
export declare function pfstPair<A extends TermType, B extends TermType>(fstType: A, sndType: B): TermFn<[PPair<ToPType<A>, ToPType<B>>], ToPType<A>>;
export declare function psndPair<A extends TermType, B extends TermType>(fstType: A, sndType: B): TermFn<[PPair<ToPType<A>, ToPType<B>>], ToPType<B>>;