import { Stream } from '../uri';
/**
* Calculates the number of elements in a {@link Stream}.
*
* @export
* @template A The value type.
* @param {Stream} fa The input stream.
* @return {number} The number of elements.
*
* @__PURE__
*/
export declare function size(fa: Stream): number;