/** * Output formatting for the CLI. */ export declare function setJsonMode(enabled: boolean): void; export declare function isJsonMode(): boolean; /** Print data — as JSON if --json flag, otherwise as formatted text. */ export declare function output(data: unknown, formatted?: string): void; /** Print a simple table to the terminal. */ export declare function printTable(headers: string[], rows: string[][]): void; /** Print an error and exit. */ export declare function die(msg: string): never; /** Truncate a string. */ export declare function truncate(text: string, max: number): string;