/**
 * Resolve a process exit code from a spawnSync result. A signal-terminated
 * child has `status: null` + `signal: '<name>'`; `status ?? 0` would coalesce
 * that to a *successful* exit, hiding SIGTERM/SIGKILL (CI timeouts, OOM) from
 * callers that gate on the exit code. Map signals to 128+n (POSIX convention).
 */
export declare function spawnExitCode(status: number | null, signal: NodeJS.Signals | null): number;
export interface HarnessOptions {
    traces?: string;
    prompt?: string;
    json?: boolean;
}
/**
 * `uap harness analyze` — run the HALO engine over collected UAP traces to
 * surface systemic harness failure modes. Thin wrapper over the `halo` CLI.
 *
 * HALO contract: ask about the trace data; never ask it to write code.
 */
export declare function harnessAnalyze(options?: HarnessOptions): Promise<void>;
/** `uap harness status` — report HALO trace collection state. */
export declare function harnessStatus(options?: HarnessOptions): Promise<void>;
/** Dispatch for the `uap harness <subcommand>` group. */
export declare function harnessCommand(sub: 'analyze' | 'status', options?: HarnessOptions): Promise<void>;
//# sourceMappingURL=harness.d.ts.map