/** * inspired by https://github.com/tusharmath/qio/pull/22 (revised) */ import { _A, _E, _R } from "../../Effect/commons.js"; import type * as Utils from "../../Utils/index.js"; import type { STM } from "./core.js"; export declare class GenSTM { readonly effect: STM; readonly [_R]: (_R: R) => void; readonly [_E]: () => E; readonly [_A]: () => A; constructor(effect: STM); [Symbol.iterator](): Generator, A, any>; } /** * Do simulation using Generators */ export declare function gen, AEff>(f: (i: { (_: STM): GenSTM; }) => Generator): STM, Utils._E, AEff>; //# sourceMappingURL=gen.d.ts.map