import { Schema } from '@liskhq/lisk-codec'; import { CommandVerifyContext, CommandExecuteContext, VerificationResult } from '../state_machine'; import { NamedRegistry } from './named_registry'; export declare abstract class BaseCommand { protected stores: NamedRegistry; protected events: NamedRegistry; schema: Schema; get name(): string; constructor(stores: NamedRegistry, events: NamedRegistry); verify?(context: CommandVerifyContext): Promise; abstract execute(context: CommandExecuteContext): Promise; }