/**
 * api-client/format-error.ts — Human-readable error formatting for failed jobs.
 *
 * Produces structured console output that shows the failed step, error
 * message, and (when available) a remediation hint. The output is designed
 * to be useful both in interactive terminals and in CI log output.
 */
import type { JobResponse } from "./types.js";
/**
 * Format a failed job response into a multi-line error string.
 *
 * Does NOT call `process.exit()` — the caller decides what to do.
 *
 * @example
 * ```
 * ❌ Pipeline failed at step 'fetch-docs'
 *    Postcondition failed: Canonical context for task "foo" is empty.
 *
 * 💡 One or more context.docs entries in your task definitions don't resolve ...
 * ```
 */
export declare function formatJobError(job: JobResponse): string;
