declare type AsyncOrSyncIterable = import("../lib/AsyncOrSyncIterable.js").AsyncOrSyncIterable; /** * this is a tiny utility so that calling .return is idempotent and can be * called multiple times while only calling .return on the source iterable * once */ export default function iterator(iterable: AsyncOrSyncIterable): AsyncGenerator; export {};