/** * Detection and classification of consecutive tool-call runs. * * Finds sequences of 3+ consecutive calls to the same tool and * classifies their arguments as varying, constant, or wired. */ import type { ExtractedStepLike } from './types'; /** * Detect runs of consecutive calls to the same tool (same name + same server). */ export declare function findConsecutiveRuns(steps: ExtractedStepLike[], minLength?: number): Array<{ startIndex: number; endIndex: number; toolName: string; serverId: string | undefined; steps: ExtractedStepLike[]; }>; /** * Analyze a run of repeated tool calls and separate arguments into: * - **varying**: keys whose values differ across calls (the iterated data) * - **constant**: keys whose values are identical across all calls (shared config) * - **wired**: inter-step handles -- excluded from both */ export declare function classifyRunArguments(run: ExtractedStepLike[]): { varying: string[]; constant: Record; items: Array>; };