/**
 * Tool call recorder middleware.
 *
 * Creates a middleware that records tool executions passing through
 * the tool registry. Follows the existing ToolMiddleware pattern.
 */
import type { ToolMiddleware } from "../../agent/tools2/types.js";
import type { RecordingManager } from "../recording-manager.js";
/**
 * Creates a tool recording middleware.
 *
 * This middleware wraps tool execution to record inputs, outputs,
 * errors, and timing information.
 *
 * @param recorder - The RecordingManager instance
 * @returns A ToolMiddleware that records tool executions
 *
 * @example
 * ```typescript
 * const recordingMiddleware = createToolRecordingMiddleware(recorder);
 * registry.addMiddleware(recordingMiddleware);
 * ```
 */
export declare function createToolRecordingMiddleware(recorder: RecordingManager): ToolMiddleware;
//# sourceMappingURL=tool-recorder.d.ts.map