/** * The mark that opens any header either bin prints. Kept here so `cargo-ai` * and `cargo-cdk` cannot drift into two different brands. */ export declare const BRAND = "\uD83E\uDDF1"; /** Something that is wrong, paired with the command that fixes it. */ export type SetupIssue = { /** Stable identity, so a caller can suppress or match one issue. */ key: string; /** What is wrong, in as few words as fit on a shared line. */ label: string; /** Printed verbatim on its own line — keep it copy-pasteable. */ fix: string; }; /** One labelled value in the status footer. */ export type StatusPart = { label: string; value: string; /** Draws the value in amber, for a value that is itself the problem. */ tone?: "warn"; }; /** * Diagnosis on one line, command on the next, every time: * * ⚠ 1 setup issue * skills expect CLI 1.0.47 * npx skills add getcargohq/cargo-skills * * Putting `label · fix` on the heading line wraps inside the palette's Setup * note (six columns narrower than the terminal) as `npx skills` / `add …`, * which is the one thing the reader wanted to copy. The command is 40 * characters; it only stays whole if it owns the line. * * Undefined when nothing is wrong, so a caller can skip the write rather than * emit a blank line. */ export declare function formatSetupIssues(issues: readonly SetupIssue[]): string | undefined; /** * Writes the header to stderr, and only for a human. A script or an agent gets * the same information as data from `cargo-ai doctor`, where it can branch on * it — printing it to them as prose would just corrupt a parsed stream. */ export declare function printSetupIssues(issues: readonly SetupIssue[]): void; /** `workspace Acme · credits 12,480 · applied 3 change(s)` */ export declare function formatStatusLine(parts: readonly StatusPart[]): string; /** Writes the footer to stderr for a human; silent for scripts and agents. */ export declare function printStatusLine(parts: readonly StatusPart[]): void; //# sourceMappingURL=status.d.ts.map