export declare const toArray: (source: AsyncIterable) => Promise;