import type * as Tp from "@effect-ts/system/Collections/Immutable/Tuple"; import type { XState } from "./definition.js"; /** * Combines this computation with the specified computation. */ export declare const zip: (fb: XState) => (fa: XState) => XState>; /** * Extends this computation with another computation that depends on the * result of this computation by running the first computation, using its * result to generate a second computation, and running that computation. */ export declare const chain: (f: (a: A) => XState) => (self: XState) => XState; /** * `map` can be used to turn functions `(a: A) => B` into functions `(fa: F) => F` * whose argument and return types use the type constructor `F` to represent * some computational context. */ export declare const map: (f: (a: A) => B) => (self: XState) => XState; /** * Succeed with a value A */ export declare const succeed: (a: A) => XState; /** * Run the computation with input S returning updated state and output */ export declare const run: (s: S) => (self: XState) => Tp.Tuple<[S, A]>; /** * Run the computation with input S returning the updated state and discarding the output */ export declare const runState: (s: S) => (self: XState) => S; /** * Run the computation with input S returning the state and discarding the updated state */ export declare const runResult: (r: S) => (self: XState) => A; /** * Returns a computation that effectfully "peeks" at the success of this one. */ export declare const tap: (f: (a: A) => XState) => (self: XState) => XState; //# sourceMappingURL=operations.d.ts.map