import { ObservableArray } from './observable-array.js'; import type { ComplexObject, StructuralObject } from './entity-aspect.js'; import type { DataProperty } from '../metadata/entity-metadata.js'; /** The value of a complex property that holds an array of complex objects. It is a real array: adding or removing an element marks the owning entity Modified, can be undone by `rejectChanges`, and raises the array's `arrayChanged` event with an {@link ArrayChangedArgs}. */ export interface ComplexArray extends ObservableArray { /** The entity or complex object that owns this array. */ parent?: StructuralObject; /** The complex {@link DataProperty} of `parent` that holds this array. */ parentProperty?: DataProperty; } /** For use by breeze plugin authors only. The class is for use in building a {@link ModelLibraryAdapter} implementation. @adapter (see {@link ModelLibraryAdapter}) @hidden */ export declare function makeComplexArray(arr: any[], parent: StructuralObject, parentProperty: DataProperty): ComplexArray;