import { HarnessOptions } from "../composition/types/harness.cjs"; import { BaseCommand } from "./commands/baseCommand.cjs"; import { HarnessTelemetry } from "@agimon-ai/doompi-core/runtime-log-sink-telemetry"; //#region src/cli/cliApp.d.ts /** Public compatibility API; execution is implemented by the application functions. */ export declare class CliApp { private readonly app; constructor(telemetry?: HarnessTelemetry); selectCommand(options: HarnessOptions): Promise; runHarness(options: HarnessOptions): Promise; run(args: string[]): Promise; shutdown(): Promise; } /** * Convenience wrapper kept so the binary and tests need no CliApp knowledge. * * Telemetry is shut down here rather than inside runHarness, because this is * the only scope that owns the process: flushing earlier would drop the records * a later command still emits. */ export declare function runCli(args: string[]): Promise; /** Runs an already-resolved option set, skipping argument parsing. */ export declare function runHarness(options: HarnessOptions): Promise; //#endregion //# sourceMappingURL=cliApp.d.cts.map