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