import { OptionalFindOptions } from './findoptions'; /** * Returns a promise that represents how many elements in the specified async-iterable sequence satisfy a condition * otherwise, the number of items in the sequence. * * @export * @template T The type of elements in the source collection. * @param {AsyncIterable} source An async-iterable sequence that contains elements to be counted. * @param {OptionalFindOptions} [options] The options for a predicate for filtering, thisArg for binding and AbortSignal for cancellation. * @returns {Promise} The number of matching elements for the given condition if provided, otherwise * the number of elements in the sequence. */ export declare function count(source: AsyncIterable, options?: OptionalFindOptions): Promise;