/** * Do notation for IOResult * it allows you to chain multiple IOResult computations together * * @example * ```ts * pipe( * Do, * bind('a', () => of(1)), * bind('b', ({ a }) => of(a + 1)), * map(({ a, b }) => a + b), * ) * ``` */ export declare const Do: import("./io-result").IOResult<{}, never>; /** * bind an IOResult to a name * @param name name of the IOResult * @param f function that returns a IOResult * @returns IOResult with the name binded * * @example * ```ts * pipe( * Do, * bind('a', () => of(1)), * bind('b', ({ a }) => of(a + 1)), * map(({ a, b }) => a + b), * ) * ``` */ export declare const bind: (args_0: A1 extends string ? Exclude : never, args_1: (args_0: A2) => import("./io-result").IOResult) => (args_0: import("./io-result").IOResult) => import("./io-result").IOResult; declare const $let: (args_0: A1 extends string ? Exclude : never, args_1: (args_0: A2) => A3) => (args_0: import("./io-result").IOResult) => import("./io-result").IOResult; export { $let as let };