import { Command } from '../command'; import { Entity } from '../entity'; import { EntityCollection } from '../entity-collection'; import { EntityInfo } from '../entity-info'; import { EntityProvider } from '../entity-provider'; /** * Command to add an entity collection. * * @type {BulkAddCommand} */ export declare class BulkAddCommand extends Command> { /** * Entity collection which should be added. * * @type {EntityCollection} */ readonly entityCollection: EntityCollection; /** * Constructor. * * @param {EntityInfo} entityInfo Entity info. * @param {EntityCollection} entityCollection Entity collection which should be added. */ constructor(entityInfo: EntityInfo, entityCollection: EntityCollection); /** * Delegates command execution to an entity provider. * * @param {EntityProvider} entityProvider Entity provider. * * @returns {Promise>} Result of command execution. */ delegate(entityProvider: EntityProvider): Promise>; } //# sourceMappingURL=bulk-add-command.d.ts.map