import { CommandBuilder } from '../command-builder'; import { BulkAddCommand } from '../commands/bulk-add-command'; import { Entity } from '../entity'; import { EntityCollection } from '../entity-collection'; import { EntitySet } from '../entity-set'; /** * Bulk add command builder. * * @type {BulkAddCommandBuilder} */ export declare class BulkAddCommandBuilder extends CommandBuilder, TEntity, EntityCollection> { /** * Entity collection. * * @type {EntityCollection} */ protected entityCollection: EntityCollection; /** * Constructor. * * @param {EntitySet} entitySet Entity set. * @param {EntityCollection} entityCollection Entity collection which should be added. */ constructor(entitySet: EntitySet, entityCollection: EntityCollection); /** * Builds a command. * * @returns {BulkAddCommand} Bulk add command. */ build(): BulkAddCommand; /** * Attaches entity collection for creation. * * @param {EntityCollection} entityCollection Entity collection which should be added. * * @returns {BulkAddCommandBuilder} Bulk add command builder. */ attach(entityCollection: EntityCollection): BulkAddCommandBuilder; /** * Adds attached entity collection. * * @returns {Promise>} Updated entity collection. */ add(): Promise>; } //# sourceMappingURL=bulk-add-command-builder.d.ts.map