import { IModelRef } from '../interfaces/IModelRef'; import { PureCollection } from '../PureCollection'; import { PureModel } from '../PureModel'; export declare class ToMany { protected __readonly: boolean; protected __model?: PureModel | undefined; protected __key?: string | undefined; protected __skipMissing: boolean; protected readonly __rawList: Array; protected __collection?: PureCollection; constructor(data?: Array, collection?: PureCollection, __readonly?: boolean, __model?: PureModel | undefined, __key?: string | undefined, __skipMissing?: boolean); setCollection(collection: PureCollection | undefined): void; get value(): Array; set value(data: Array); get length(): number; get refValue(): Array; toJSON(): any; get snapshot(): any; protected __getList(): Array; protected __getModel(model: T | IModelRef | null): T | null; private __reMap; }