import * as mongoose from 'mongoose'; import { Association } from './associations/Association'; interface IOptions { document: mongoose.Document; association: Association; } export declare class Collection extends Array { document: mongoose.Document; association: Association; private constructor(); static collect(documents: Array, options: IOptions): Collection; _spliceIn(position: number, ...documents: Array): void; _spliceOut(position: number, count: number): void; _push(...documents: Array): void; pushDocument(...foreignObjects: any[]): Promise; addNestedDocument(options?: any, ...foreignObjects: any[]): Promise; removeNestedDocument(options: any, ...foreignObjects: any[]): Promise; readonly isSynchronized: boolean; create(attributes: any, options: any): Promise; createMany(attributes: any[], options: any): Promise; } export {}; //# sourceMappingURL=Collection.d.ts.map