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