import { Stream } from './uri'; /** * Equivalent to `ReadonlyArray.traverse(Applicative)` * * @export * @template A The value type. * @template B The output type. * @param {(a: A) => Stream} f The mapping function. * @return {(as: ReadonlyArray) => Stream>} A function that * takes an array of `A` and returns a stream of array of `B`. * * @category traversing * @__PURE__ */ export declare function traverseArray(f: (a: A) => Stream): (as: ReadonlyArray) => Stream>; /** * Equivalent to `ReadonlyArray.sequence(Applicative)` * * @export * @template A The value type. * @param {ReadonlyArray>} arr The input array. * @return {Stream>} The output stream. * * @category traversing * @__PURE__ */ export declare function sequenceArray(arr: ReadonlyArray>): Stream>;