@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
7 lines (6 loc) • 410 B
TypeScript
import { SopDefinition } from "../../type_system/types.js";
import type { Term } from "../../Term/index.js";
import { PStruct } from "../../PTypes/PStruct/pstruct.js";
import type { PSop } from "../../PTypes/PSoP/psop.js";
import { PMatchOptions } from "./PMatchOptions.js";
export declare function pmatch<SDef extends SopDefinition>(term: Term<PStruct<SDef, {}>> | Term<PSop<SDef, {}>>): PMatchOptions<SDef>;