declare global { /** * Enumerate an iterable, yielding tuples of the form `[index, item]`. * @param iterable The iterable to enumerate. * * @example * ```typescript * for (const [i, item] of enumerate(['a', 'b', 'c'])) { * console.log(i, item); * // 0 'a' * // 1 'b' * // 2 'c' * } * ``` */ function enumerate(iterable: Iterable): Iterable<[number, T]>; } export {}; //# sourceMappingURL=enumerate.d.ts.map