import { type CommonCodegraphOptions } from './codegraph-command-runtime.js'; import type { ProgramIO } from '../cli-helpers.js'; export declare function attributeUpstreamUpToDateLine(stdout: string): string; /** * `peaks codegraph status` with an integrity gate. * * The upstream status is still proxied verbatim (that is what the * command has always done), but a clean upstream "index is up to date" * is no longer sufficient: when git-tracked source files are being * excluded by the config, or the index itself does not cover the * repository, the command says so and names the rules and files. * * SEVERITY (user decision, option C): the exclude gate keeps its shipped * blocking behaviour (exit 74); the index gate is ADVISORY by default and * blocking only when `PEAKS_CODEGRAPH_INDEX_STRICT` is set. A detected * gap is the finding either way — only the tag and the exit code move. * * Read-only by construction — it imports the integrity inspectors, never * the repair writer. Fixing the config is `peaks codegraph init` * (fresh) or `peaks codegraph repair-exclude` (explicit). */ export declare function runCodegraphStatusCommand(io: ProgramIO, options: CommonCodegraphOptions, asJson?: boolean): Promise;