import { Entity } from './entity-aspect'; import { QueryErrorCallback, QueryResult, QuerySuccessCallback } from './entity-manager'; import { DataProperty, NavigationProperty } from './entity-metadata'; import { ObservableArray } from './observable-array'; export interface RelationArray extends ObservableArray { [index: number]: Entity; parentEntity: Entity; parentProperty?: DataProperty; navigationProperty: NavigationProperty; _inProgress?: boolean; _addsInProcess: Entity[]; load(querySuccessCallback?: QuerySuccessCallback, queryErrorCallback?: QueryErrorCallback): Promise; } /** For use by breeze plugin authors only. The class is for use in building a [[IModelLibraryAdapter]] implementation. @adapter (see [[IModelLibraryAdapter]]) @hidden */ export declare function makeRelationArray(arr: any[], parentEntity: Entity, navigationProperty: NavigationProperty): RelationArray;