import type { VisualQaVerdictItem } from './types'; export type VerdictWord = 'pass' | 'warn' | 'fail' | 'error'; /** Said once under every verdict: the vision critic never gates anything (Jack, 2026-10-30). */ export declare const ADVISORY_NOTE = "advisory: owner visual check is the gate. The vision critic is low-signal and never blocks (publish, set-version, listing and this exit code ignore it); look at the contact sheet yourself. Only the measured gates (shell, budget, occupant/head_in_wings, triangles) are hard."; /** True when a verdict has blockers and EVERY one is the vision critic's (an older backend can still record a critic-only `fail`/`error`). */ export declare function isCriticOnly(blockers: readonly Pick[] | null | undefined): boolean; /** A `fail`/`error` whose only blockers come from the critic is advisory: it exits 0 like a pass. */ export declare function exitCodeForVerdict(verdict: string | null | undefined, blockers?: readonly Pick[] | null): 0 | 1 | 2; /** The leading mark of the one-line verdict. `warn` is plain `!` (no colour codes: the output is piped into logs and agents). */ export declare function verdictMark(verdict: string): string; /** The `warnings` / `blockers` arrays of a server body, tolerant of an older backend that does not send them. */ export declare function verdictItemsOf(body: unknown): { warnings: VisualQaVerdictItem[]; blockers: VisualQaVerdictItem[]; }; /** ` - ` then ` fix: ` for each item, under a heading line. Empty when there are none. */ export declare function describeVerdictItems(heading: string, items: readonly VisualQaVerdictItem[], indent?: string): string[]; /** What a WARN means, once, under the verdict line. */ export declare const WARN_EXPLANATION = "advisory only, nothing blocks: the notes below are fix hints for you to use or ignore (generator limits, not defects that make it unusable)"; /** * Everything printed under a verdict line: the WARN explanation, the warnings (with fix hints) and the blockers (with fix * hints). A `fail` also lists the plain reasons the caller prints first; blockers are the same lines, machine-readable. */ export declare function describeVerdictBody(verdict: string, body: unknown, indent?: string): string[]; /** The items to print for an item's status: the avatar release block when it carries any, else the current version's. */ export declare function statusVerdictSource(st: { release?: unknown; currentVersion?: unknown; } | null | undefined): { warnings: VisualQaVerdictItem[]; blockers: VisualQaVerdictItem[]; }; /** `current version: …` for `--status`, then the release state, blockers and warnings. */ export declare function describeStatus(st: { currentVersion: { passed: boolean; verdict?: string; } | null; release?: { state?: string; } | null; }): string[];