/** * `synap diagnose` — see what an AI did, across flows. * * The CLI face of the unified runs door (LOCKED CONTRACT, base `${podUrl}/api/hub`): * feed: GET /runs?flowType=&flowId=&limit= * detail: GET /runs/:id?flowType= * * No args → the recent run feed across automation / playbook / capture / session. * With a run id → that run's activity timeline. For a CAPTURE run that is its * decision + trace events — WHY a facet/entity dropped or a route was chosen, * each with an actionable fixHint. `--json` prints the raw payload. */ export declare function diagnose(runId: string | undefined, opts: { flow?: string; flowId?: string; limit?: string; json?: boolean; podUrl?: string; apiKey?: string; }): Promise;