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