/**
 * Shared types and constants for pattern detection.
 */
export interface ExtractedStepLike {
    kind: 'tool' | 'llm';
    toolName: string;
    arguments: Record<string, unknown>;
    result: unknown;
    source: string;
    mcpServerId?: string;
    promptMessages?: Array<{
        role: string;
        content: string;
    }>;
}
/** Keys that represent inter-step handles, not meaningful iteration data. */
export declare const WIRED_KEYS: Set<string>;
export interface PatternAnnotation {
    type: 'iteration';
    toolName: string;
    runStartIndex: number;
    iterationCount: number;
    varyingKeys: string[];
    constantKeys: string[];
    arraySource: {
        stepIndex: number;
        fieldName: string;
    } | null;
}
