import { CBARObject } from "./components"; export interface iCBARCollection { values: { [id: string]: T; }; add(asset: T): void; containsKey(key: string): boolean; remove(asset: T): void; clearAll(): void; length(): number; first(): T | undefined; last(): T | undefined; all(): T[]; forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; } export declare abstract class CBARCollection extends CBARObject implements iCBARCollection { [Symbol.iterator](): Iterator; forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; abstract values: { [p: string]: T; }; abstract add(asset: T): void; abstract all(): T[]; abstract clearAll(): void; abstract containsKey(key: string): boolean; abstract first(): T | undefined; abstract last(): T | undefined; abstract length(): number; abstract remove(asset: T): void; }