import { AsyncStream } from '../uri'; import { MaybeAsync } from './maybe-async'; /** * Given an input an {@link AsyncStream} of functions, `flap` returns * an {@link AsyncStream} containing the results of applying each function * to the given input. * * @export * @template A The value type. * @param {A} a The value. * @return {(fab: AsyncStream<(a: A) => B | Promise>) => AsyncStream} A * function that takes an async stream of functions. * * @category mapping * @__PURE__ */ export declare function flap(a: A): (fab: AsyncStream<(a: A) => MaybeAsync>) => AsyncStream;