import { Refinement } from 'fp-ts/lib/Refinement'; import { Task } from 'fp-ts/lib/Task'; import { AsyncStream } from '../uri'; import { AsyncPredicate } from './async-predicate'; /** * `none` tells if the provided refinement holds `false` for every element * in the {@link AsyncStream}. * * @export * @template A The value type. * @template B The refined value type. * @param {Refinement} refinement The refinement function. * @return {Task} `true` if all the * elements returned `false` from the refinement function. * * @__PURE__ */ export declare function none(refinement: Refinement): (fa: AsyncStream) => Task; /** * `none` tells if the provided predicate holds false for none element * in the {@link AsyncStream}. * * @export * @template A The value type. * @template B The refined value type. * @param {AsyncPredicate} predicate The predicate function. * @return {AsyncPredicate>} `true` if all the elements * returned `false` from the refinement function. * * @__PURE__ */ export declare function none(predicate: AsyncPredicate): (fa: AsyncStream) => Task;