/** * Compact output formatter for agent-optimized CLI output * * Design principles: * - Default: 1-3 lines of compact text * - --json: Full JSON data * - --compact: Even shorter for status polling * - All outputs include short ref IDs for chaining */ /** * Format a compact date (shorter than markdown format) */ export declare function compactDate(date: string | Date): string; /** * Format a list of items as a compact table */ export declare function compactTable(headers: string[], rows: string[][], widths?: number[]): string; /** * Format pagination for compact output */ export declare function compactPagination(pagination: { page: number; page_size: number; total: number; has_more: boolean; }): string; /** * Format a compact status line for polling */ export declare function compactStatus(id: string, status: string, progress?: number): string; /** * Format a compact key-value summary (single line or minimal lines) */ export declare function compactSummary(items: Record): string; /** * Format a creation success message */ export declare function compactCreated(type: string, id: string, name?: string): string; /** * Format a deletion success message */ export declare function compactDeleted(type: string, id: string): string; /** * Format an update success message */ export declare function compactUpdated(type: string, id: string): string; /** * Format an error message for CLI output */ export declare function compactError(message: string): string; /** * Output handler — routes to compact or JSON based on flags */ export declare function output(data: unknown, opts: { json?: boolean; compact?: boolean; }, compactFn: () => string): string; //# sourceMappingURL=formatter.d.ts.map