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