declare module 'java.lang' { /** * Implementing this interface allows an object to be the target of the enhanced * `for` statement (sometimes called the "for-each loop" statement). * * @param the type of elements returned by the iterator * * @since 1.5 * @jls 14.14.2 The enhanced `for` statement */ export class Iterable { [Symbol.iterator](): globalThis.Iterator; } }