import type { Effect } from "../../Effect/effect.js"; import { _A, _E, _R } from "../../Effect/index.js"; import type { Either } from "../../Either/index.js"; import type { NoSuchElementException } from "../../GlobalExceptions/index.js"; import type { Has, Tag } from "../../Has/index.js"; import type { Option } from "../../Option/index.js"; import type * as Utils from "../../Utils/index.js"; import type { Managed } from "../managed.js"; export declare class GenManaged { readonly effect: Managed; readonly trace?: string | undefined; readonly [_R]: (_R: R) => void; readonly [_E]: () => E; readonly [_A]: () => A; constructor(effect: Managed, trace?: string | undefined); [Symbol.iterator](): Generator, A, any>; } export declare function gen, AEff>(f: (i: { (_: Tag, __trace?: string): GenManaged, never, A>; (_: Option, onNone: () => E, __trace?: string): GenManaged; (_: Option, __trace?: string): GenManaged; (_: Either, __trace?: string): GenManaged; (_: Managed, __trace?: string): GenManaged; (_: Effect, __trace?: string): GenManaged; }) => Generator): Managed, Utils._E, AEff>; //# sourceMappingURL=gen.d.ts.map