import type { ToolResult } from '../types/index.js';
import type { GlobalFlags } from '../types/cli.js';
/**
 * Format a ToolResult for terminal display.
 * Parses JSON text content when possible, otherwise returns raw text.
 * Respects global flags: --json for raw JSON, --quiet returns empty string.
 */
export declare function formatToolResult(result: ToolResult, options?: {
    json?: boolean;
} | GlobalFlags): string;
/**
 * Render an ASCII table with column alignment.
 */
export declare function table(headers: string[], rows: string[][]): string;
/**
 * Render a progress bar.
 * Example: [--------] 67%
 */
export declare function progressBar(current: number, total: number, width?: number): string;
//# sourceMappingURL=formatter.d.ts.map