import { Command } from '../command'; import { Entity } from '../entity'; import { EntityInfo } from '../entity-info'; import { EntityProvider } from '../entity-provider'; /** * Command to remove an entity. * * @type {RemoveCommand} */ export declare class RemoveCommand extends Command { /** * Entity which should be removed. * * @type {TEntity} */ readonly entity: TEntity; /** * Constructor. * * @param {EntityInfo} entityInfo Entity info. * @param {TEntity} entity Entity which should be removed. */ 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=remove-command.d.ts.map