declare class ToolOutputFormatter { format(toolName: string, _args: Record | null | undefined, output: string, options?: { isError?: boolean; }): string; } declare function formatAgentToolOutput(toolName: string, args: Record | null | undefined, output: string, options?: { isError?: boolean; }): string; export { ToolOutputFormatter, formatAgentToolOutput };