import type { ProgramIO } from '../cli-helpers.js'; import type { GuardContext } from '../../services/capability-guard-runner/types.js'; /** The `--project` / `--json` pair every verb in this family declares. */ export type BaselineOptions = { project?: string; json?: boolean; }; export declare function fail(io: ProgramIO, code: string, message: string, data?: Record): void; export declare function ok(io: ProgramIO, command: string, data: Record, nextActions?: ReadonlyArray): void; export declare const CURRENT_DIR: (root: string) => string; export declare const HISTORY_DIR: (root: string, version: string) => string; /** Whitelist of supported `--scorer` values for `peaks baseline audit`. */ export declare const SCORER_MODES: readonly ["live", "stub"]; export type ScorerMode = (typeof SCORER_MODES)[number]; /** * `live` is the default because it is the credential-free one. Defaulting to * `stub` would leave the publish gate permanently inconclusive; defaulting to a * scorer that needs a key would leave it unrunnable in CI. */ export declare const DEFAULT_SCORER_MODE: ScorerMode; export declare function isScorerMode(v: string | undefined): v is ScorerMode; /** The guard `run-guard` / `audit` execute against. */ export declare function guardContext(projectRoot: string): GuardContext;