import * as Tp from "@effect-ts/system/Collections/Immutable/Tuple"; import type { Reader } from "./definition.js"; /** * Lift a sync (non failable) computation */ export declare const sync: (f: () => A) => Reader; /** * Reads the current context */ export declare const environment: () => Reader; /** * Projects a value from the global context in a Reader */ export declare const access: (f: (r: R) => A) => Reader; /** * Changes the value of the local context during the execution of the action `ma` */ export declare const provideSome: (f: (d: Q) => R) => (ma: Reader) => Reader; /** * Combines this computation with the specified computation. */ export declare const zip: (fb: Reader) => (fa: Reader) => Reader>; /** * 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) => Reader) => (self: Reader) => Reader; /** * `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: Reader) => Reader; /** * Succeed with a value A */ export declare const succeed: (a: A) => Reader; /** * Run the computation */ export declare const run: (self: Reader) => A; /** * Run the computation with environment R */ export declare const runEnv: (r: R) => (self: Reader) => A; /** * Returns a computation that effectfully "peeks" at the success of this one. */ export declare const tap: (f: (a: A) => Reader) => (self: Reader) => Reader; //# sourceMappingURL=operations.d.ts.map