import * as t from "io-ts/lib/index.js"; import { Observation, Value } from "./value-and-observation.js"; import { ChoiceId } from "./choices.js"; import { Party } from "./participants.js"; import { AccountId } from "./payee.js"; import { Token } from "./token.js"; import { Bound } from "./choices.js"; /** * TODO: Comment * @category Action */ export interface Choice { choose_between: Bound[]; for_choice: ChoiceId; } /** * TODO: Comment * @category Action */ export declare const ChoiceGuard: t.Type; /** * TODO: Comment * @category Action */ export interface Deposit { party: Party; deposits: Value; of_token: Token; into_account: AccountId; } /** * TODO: Comment * @category Action */ export declare const DepositGuard: t.Type; /** * TODO: Comment * @category Action */ export interface Notify { notify_if: Observation; } /** * TODO: Comment * @category Action */ export declare const NotifyGuard: t.Type; /** * TODO: Comment * @category Action */ export type Action = Deposit | Choice | Notify; /** * TODO: Comment * @category Action */ export declare const ActionGuard: t.Type; //# sourceMappingURL=actions.d.ts.map