import { AsyncSequence } from "../../sequency"; export declare class Count { /** * Returns the number of elements of this sequence. If `predicate` is present, returns * the number of elements matching the given `predicate`. * * @param {(T) => Promise | boolean} predicate * @returns {Promise} */ count(this: AsyncSequence, predicate?: (item: T) => Promise | boolean): Promise; }