import { STM } from "@effect/core/stm/STM/definition/base"; /** * Loops with the specified transactional function purely for its * transactional effects. The moral equivalent of: * * ```typescript * var s = initial * * while (cont(s)) { * body(s) * s = inc(s) * } * ``` * @tsplus static effect/core/stm/STM.Ops loopDiscard * @tsplus location "@effect/core/stm/STM/operations/loopDiscard" */ export declare function loopDiscard(initial: Z, cont: (z: Z) => boolean, inc: (z: Z) => Z): (body: (z: Z) => import("../definition").STM) => import("../definition").STM; //# sourceMappingURL=loopDiscard.d.ts.map