/** * Command registry and background job runner. * * Commands are registered via `registerCommand`, then executed asynchronously * via `runCommand`. Jobs are tracked in-memory with log streaming support. */ import type { CommandJob, CommandSpec } from "./types.js"; export declare function registerCommand(spec: CommandSpec): void; export declare function getJob(jobId: string): CommandJob | undefined; export declare function listJobs(): CommandJob[]; export declare function cancelJob(jobId: string): boolean; export declare function runCommand(commandId: string, payload: unknown): string;