import { HarnessOptions } from "../../composition/types/harness.cjs"; import { HarnessContext } from "../../builders/cli/harnessContext.cjs"; import { HarnessTelemetry } from "@agimon-ai/doompi-core/runtime-log-sink-telemetry"; //#region src/cli/commands/baseCommand.d.ts /** Public compatibility contract for callers that use command classes. */ export declare abstract class BaseCommand { /** Identifier used in diagnostics and tests. */ abstract readonly name: string; /** True when the parsed options select this command. */ abstract matches(options: HarnessOptions): boolean; /** * Runs the command and resolves to the process exit code. * * Telemetry is handed in rather than created per command so every stage of * one run reports under the same span. */ abstract execute(context: HarnessContext, telemetry: HarnessTelemetry): Promise; /** * Handle errors consistently across all commands. */ protected handleError(error: unknown): never; } //#endregion //# sourceMappingURL=baseCommand.d.cts.map