export declare class DictArray implements Iterable { private idField; private _map; private _array; constructor(idField?: string); [Symbol.iterator](): { next(): IteratorResult; }; readonly length: number; push(items: T | Array): T | Array; clear(): void; byId(id: string | number): T | undefined; has(id: string | number): boolean; forEach(callbackFn: (value: T, idx: number, array: T[]) => void): void; map(callbackFn: (value: T, idx: number, array: T[]) => U): U[]; filter(callbackFn: (value: T, idx: number, array: T[]) => boolean): T[]; find(predicate: (value: T, idx: number, obj: T[]) => boolean): T | undefined; }