import type { ConfigViewSection } from "@mono-agent/config"; import type { ParsedCliArgs } from "./cli-args.js"; import type { ValidationReport, ValidationSection } from "./doctor.js"; import type { ModuleValidateExpectation } from "./modules/index.js"; import type { WizardPreset } from "./wizard/presets.js"; export declare function runValidate(args: ParsedCliArgs): Promise; /** * Capability-aware completeness check: for each capability a preset (or module * set) promises, report whether the matching doctor section reached the expected * status. `waiting` stays non-fatal (it never changes the validate exit code) but * is surfaced as "incomplete" so the operator knows what is left to wire up. */ export declare function renderPlanCompleteness(expectations: readonly ModuleValidateExpectation[], label: string, report: ValidationReport): string; export declare function riskColor(risk: WizardPreset["riskLevel"]): string; /** `mono-agent presets list` — one block per preset. */ export declare function renderPresetList(): string; /** `mono-agent presets show ` — description, composed JSON, env example, checklist. */ export declare function renderPresetShow(preset: WizardPreset): string; /** * The public preset shape for `--json`: only the doc'd catalog fields, never the * internal `answers: Partial` wizard seed. Narrowing here keeps the * machine contract stable if the wizard's internal answer shape changes. */ export interface PublicPresetSummary { readonly id: string; readonly title: string; readonly description: string; readonly riskLevel: WizardPreset["riskLevel"]; readonly playbook?: string; } /** The machine-readable `presets show ` payload, decoupled from rendering. */ export declare function presetShowData(preset: WizardPreset): { readonly preset: PublicPresetSummary; readonly configJson: unknown; readonly envExample: string; readonly files: readonly string[]; readonly checklist: readonly { readonly sectionId: string; readonly mustBe: string; readonly note?: string; }[]; }; /** Dispatch `mono-agent presets list|show `. */ export declare function runPresets(args: ParsedCliArgs): number; /** * Render the complete, source-annotated config view: every core section and * field with its resolved value and whether it came from an env var, the JSON * file, or the built-in default. This is the single discovery surface that * replaced the old partial config panes. */ export declare function renderConfigView(sections: readonly ConfigViewSection[]): string; export declare function runConfig(args: ParsedCliArgs): Promise; /** Render one validation section: a status badge, a bold label, and its details. */ export declare function formatSection(section: ValidationSection): string; //# sourceMappingURL=cli-validate-config-command.d.ts.map