declare global { /** * @tsplus type Collection */ export interface Iterable {} /** * @tsplus type Map */ export interface Map extends Iterable<[K, V]> {} /** * @tsplus type Set */ export interface Set extends Iterable {} /** * @tsplus type Array */ export interface Array extends Iterable {} /** * @tsplus type ReadonlyArray */ export interface ReadonlyArray extends Iterable {} /** * @tsplus type Array.Ops */ export interface ArrayConstructor { } /** * @tsplus type Set.Ops */ export interface SetConstructor { } /** * @tsplus type Map.Ops */ export interface MapConstructor { } } export type Collection = ESIterable /** * @tsplus type Collection.Ops */ export interface CollectionOps { readonly $: CollectionAspects } export const Collection: CollectionOps = { $: {} } /** * @tsplus type Collection.Aspects */ export interface CollectionAspects {}