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