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