import { Task } from 'fp-ts/lib/Task'; import { AsyncStream } from '../uri'; /** * Tests whether an {@link AsyncStream} is empty. * * @export * @template A The value type. * @param {AsyncStream} fa The input async stream. * @return {Task} A task of `true` if the async stream was empty, * `false` otherwise. * * @__PURE__ */ export declare function isEmpty(fa: AsyncStream): Task; /** * Tests whether a {@link Stream} is not empty. * * @export * @template A The value type. * @param {AsyncStream} ma The input async stream. * @return {Promise} A task of `true` if the stream was not empty, * `false` otherwise. * * @__PURE__ */ export declare function isNotEmpty(ma: AsyncStream): () => Promise;