import { Task } from 'fp-ts/lib/Task';
import { AsyncStream } from '../uri';
/**
* Calculates the number of elements in an {@link AsyncStream}.
*
* @export
* @template A The value type.
* @param {AsyncStream} fa The input async stream.
* @return {number} The number of elements.
*
* @__PURE__
*/
export declare function size(fa: AsyncStream): Task;