import { Stream } from './uri';
/**
* Converts a {@link Stream} of type `A` to an array of `A`.
*
* @export
* @template A The value type.
* @param {Stream} fa The stream source.
* @return {A[]} The stream items as an array.
*
* @__PURE__
*/
export declare function toArray(fa: Stream): A[];
/**
* Converts an iterable to a {@link Stream} of type `A`.
*
* @export
* @template A The value type.
* @param {Iterable} a The iterable input of `A` values.
* @return {Stream} A stream of of the values found in the given iterable.
*
* @__PURE__
*/
export declare function fromIterable(a: Iterable): Stream;