import { Entity } from './entity'; import { EntityInfo } from './entity-info'; import { EntityProvider } from './entity-provider'; /** * Command which can be executed over a certain entity provider. * * @type {Command} */ export declare abstract class Command { /** * Entity info. * * @type {EntityInfo} */ readonly entityInfo: EntityInfo; /** * Constructor. * * @param {EntityInfo} entityInfo Entity info. */ constructor(entityInfo: EntityInfo); /** * Delegates command execution to an entity provider. * * @param {EntityProvider} entityProvider Entity provider. * * @returns {Promise} Result of command execution. */ abstract delegate(entityProvider: EntityProvider): Promise; } //# sourceMappingURL=command.d.ts.map