import { Monoid } from 'fp-ts/lib/Monoid'; import { Task } from 'fp-ts/lib/Task'; import { AsyncStream } from '../uri'; /** * Places an element between members of an {@link AsyncStream}. * * @export * @template A The value type. * @param {Monoid} M The monoid instance. * @return {(middle: A) => (fa: AsyncStream) => Task} A function that * takes the element to place between members of the stream. * * @__PURE__ */ export declare function intercalate(M: Monoid): (middle: A) => (fa: AsyncStream) => Task;