/** Structured JSON envelope for CLI output (no Zod — plain TS interfaces) */ export interface TotemJsonSuccess { status: 'success'; command: string; data: T; } export interface TotemJsonError { status: 'error'; command: string; error: { message: string; fix?: string; code?: string; }; } export type TotemJsonResponse = TotemJsonSuccess | TotemJsonError; /** Print JSON response to stdout. All other output must go to stderr when --json is active. */ export declare function printJson(response: TotemJsonResponse): void; /** Check if --json flag is active on the root program */ export declare function isJsonMode(): boolean; //# sourceMappingURL=json-output.d.ts.map