import { EventProxy } from '../../game/event-proxy'; import { Player } from '../../game/player'; import { ItemApi } from '../item-api'; import { ItemData } from '../item-data'; import { Table } from '../table/table'; import { TimerHit } from '../timer/timer-hit'; import { CollectionData } from './collection-data'; export declare class CollectionApi extends ItemApi implements IterableIterator> { private readonly items; private pointer; /** * The goal of the proxy is to mimic an array. Small note, the array * doesn't just contain the collection's items, but their API implementation. * @param data * @param items * @param events * @param player * @param table */ static getInstance(data: CollectionData, items: Array>, events: EventProxy, player: Player, table: Table): CollectionApi; private constructor(); next(): IteratorResult>; _getTimers(): TimerHit[]; [Symbol.iterator](): IterableIterator>; protected _getPropertyNames(): string[]; }