/** * Log formatting utilities for Gateway service. */ /** * Safely formats tool arguments for logging with circular reference handling and size limits. * * This method provides safe JSON serialization of tool arguments for logging purposes, * handling circular references by replacing them with '[Circular Reference]' and * truncating large strings and outputs to prevent log noise and performance issues. * * @param {unknown} args - Tool arguments to format * @returns {string} Safe formatted string representation of the arguments */ export declare function formatToolArgs(args: unknown): string; /** * Safely formats tool responses for logging with size limits. * * This method provides safe JSON serialization of tool responses for logging purposes, * truncating large outputs to prevent log noise and performance issues while maintaining * readability through pretty-printed JSON formatting. * * @param {unknown} response - Tool response to format * @returns {string} Safe formatted string representation of the response */ export declare function formatToolResponse(response: unknown): string; //# sourceMappingURL=log-formatter.d.ts.map