/** * Converts a (synchronous) iterator to an asynchronous iterator. */ export default function makeAsync(original: Iterator): { next(): Promise>; return(value?: R): Promise | { done: boolean; value: R; }>; throw(error: any): Promise>; };