/** * Root CLI application. */ import * as Effect from "effect/Effect"; import { CliError, Command } from "effect/cli"; import { AppError } from "./app-error/index.js"; import { Screen, type OutputWriteFailed } from "./screen/index.js"; /** * Effect CLI built-ins kept for axm: `--completions` and `--log-level` are * intentionally absent — verbosity flags own logger severity instead. */ /** * Experimental AXM command tree for structural inspection and composition. * * Executing the tree through {@link run} is supported for one invocation per * process. Repeated, concurrent, and Worker-hosted invocation are unsupported. * * @experimental This API is unstable and may change without notice. */ export declare const rootCommand: Command.Command<"axm", {}, {}, AppError | OutputWriteFailed | CliError.ShowHelp, import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("./telemetry/client.ts").TelemetryClient | import("@agentxm/registry-access/authentication").DeviceLoginInteraction>; /** * One invocation of the command tree, with everything Effect CLI writes to its * console routed through the Screen. Built-in help and version output is * presented from the formatter's machine document, and the parser's own error * rendering is switched off because the application paints usage errors too. * * @internal Exported for the output specifications that drive a real invocation. */ export declare const runCommand: (argv: ReadonlyArray, isJson: boolean) => Effect.Effect; /** * Run AXM as a process entry point. * * This API supports one invocation per process. It owns stdout, stderr, and * signal handlers for that invocation, and it terminates the process on * failure. Repeated, concurrent, and Worker-hosted invocation are unsupported. * * @experimental This API is unstable and may change without notice. */ export declare const run: (args?: ReadonlyArray) => Promise; //# sourceMappingURL=app.d.ts.map