/** * Centralized output truncation to prevent LLM context overflow. * Tools like system_shell, system_logs, browser_evaluate can return * unbounded text — this utility caps output at safe limits. */ export interface TruncateOptions { /** Maximum characters in output (default: 10_000) */ maxChars?: number; /** Maximum lines in output (default: 200) */ maxLines?: number; } /** * Truncate text output to safe limits for LLM consumption. * Applies line limit first, then character limit. * Appends a marker showing how much was truncated. */ export declare function truncateOutput(text: string, opts?: TruncateOptions): string; //# sourceMappingURL=truncate.d.ts.map