import { type CliOutputEnvelope, type CliOutputLocale } from '../workflow-contract/output-envelope.js'; /** * Terminology catalog for Native CLI human lines: internal machine concepts * are mapped to plain user language in both locales, and the denylist below * keeps contract tests honest about the summary/user_message audience split. * Phase tokens (Shape/Build/Verify/Archive) intentionally stay English in * zh-CN phrases to match the bilingual skill vocabulary. */ export declare const NATIVE_HUMAN_TEXT_DENYLIST: readonly RegExp[]; interface NativeAcceptanceCounts { total: number; passed: number; failed: number; blocked: number; pending: number; } interface NativeContinuationLike { change: string; phase: unknown; status: unknown; disposition: 'continue' | 'await-user' | 'blocked' | 'done'; commandArgs: string[] | null; userCommunication: { required: boolean; message: string | null; agentInstruction: string; }; } /** * The continuation already carries localized user communication. Its locale is * recovered from the localized agent instruction (CJK sniffing) instead of * widening the public continuation schema with a language field. */ export declare function nativeContinuationLocale(continuation: NativeContinuationLike): CliOutputLocale; export declare function envelopeFromNativeContinuation(continuation: NativeContinuationLike, acceptance: NativeAcceptanceCounts | null, prefix: string | null): CliOutputEnvelope; /** * One-line human summary for a portable Native change, used by the `comet * status` aggregator view. */ export declare function nativeStatusSummaryLine(options: { name: string; phase: string; status: string; acceptance: { passed: number; total: number; }; locale: CliOutputLocale; }): string; /** * Derive the human/agent envelope from a command's existing public data * payload without changing that payload. Covers every result shape that * carries a continuation (next/new/spec/status/show/archive/doctor), the * status page, doctor results, and `root show`. */ export declare function deriveNativeOutputEnvelope(data: unknown): CliOutputEnvelope | undefined; interface NativeErrorEnvelopeInput { code: string; message: string; data?: unknown; } /** * Human envelopes for stable error codes. Returns undefined when the raw * message is already the best human story (usage corrections, guard reasons, * unexpected internal errors). */ export declare function nativeErrorEnvelope(input: NativeErrorEnvelopeInput): CliOutputEnvelope | undefined; export {}; //# sourceMappingURL=native-output-language.d.ts.map