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