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