import type { IterSource, IteratorOrIterable } from './types';
/** Converts an iterator or iterable into an array by iterating over all it's values and collecting them. */
export declare function toArray<T extends IteratorOrIterable<any>>(iteratorOrIterable: T): IterSource<T>[];
export default toArray;
//# sourceMappingURL=toArray.d.ts.map