import { Applicative1 } from 'fp-ts/lib/Applicative'; import { AsyncStream, URI } from './uri'; import { MaybeAsync } from './utils/maybe-async'; /** * Applies a {@link AsyncStream} of type `A` to {@link AsyncStream} of functions * from `A` to `B`. * * @export * @template A The value type. * @param {AsyncStream} fa The source async stream. * @return {(fab: AsyncStream<(a: A) => B>) => AsyncStream} A function that * takes a {@link AsyncStream} of functions. * * @__PURE__ */ export declare function ap(fa: AsyncStream): (fab: AsyncStream<(a: A) => MaybeAsync>) => AsyncStream; /** * The `Applicative` category instance for {@link AsyncStream}. * * Same with {@link ApplicativePar} */ export declare const Applicative: Applicative1; /** * The `ApplicativePar` category instance for {@link AsyncStream}. */ export declare const ApplicativePar: Applicative1<"fp-ts-stream/AsyncStream">;