import type { CommandArguments, CommandResult, ICommand } from "../../shared/interfaces/command.interface.js"; import type { ValidationResult } from "../../shared/interfaces/validator.interface.js"; /** * Base command implementation * Provides common functionality for all commands */ export declare abstract class BaseCommand implements ICommand { abstract readonly name: string; abstract readonly description: string; /** * Execute the command (must be implemented by subclasses) */ abstract execute(args: CommandArguments): Promise; /** * Validate arguments (default: no validation) */ validate(_args: CommandArguments): ValidationResult; /** * Helper: Create successful result */ protected successResult(message?: string, data?: unknown): CommandResult; /** * Helper: Create error result */ protected errorResult(message: string, error?: Error): CommandResult; } //# sourceMappingURL=base.command.d.ts.map