/** * Do notation for AsyncOption * it allows you to chain multiple AsyncOption 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-option.types").AsyncOption<{}>; /** * bind an AsyncOption to a name * @param name name of the AsyncOption * @param f function that returns an AsyncOption * @returns AsyncOption 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-option.types").AsyncOption) => (args_0: import("./async-option.types").AsyncOption) => import("./async-option.types").AsyncOption; declare const $let: (args_0: A1 extends string ? Exclude : never, args_1: (args_0: A2) => A3) => (args_0: import("./async-option.types").AsyncOption) => import("./async-option.types").AsyncOption; export { $let as let };