/**
 * Helper functions for the extract pipeline stage.
 *
 * Parsing utilities for MCP activity types, tool arguments,
 * LLM messages, and default prompt construction.
 */
import type { ExtractedStep } from '../types';
/**
 * Parse an MCP activity type name back into server name + tool name.
 * Activity names follow: mcp_{serverName}_{toolName}
 */
export declare function parseMcpActivityType(activityType: string): {
    serverName: string;
    toolName: string;
};
/**
 * Extract the tool arguments from an enriched activity event's input.
 *
 * The enriched `input` field contains the raw arguments passed to the
 * activity function. The shape depends on the activity:
 * - callMcpTool(qualifiedName, args) → [qualifiedName, args]
 * - callDbTool(name, args) → [name, args]
 * - callLLM(messages, tools?) → [messages, tools?]
 * - mcp_* activities(args) → [args]
 */
export declare function extractToolArgs(attrs: Record<string, unknown>): Record<string, unknown>;
/**
 * Extract the LLM prompt messages from an enriched callLLM event's input.
 * callLLM(messages, tools?) → input = [messages, tools?]
 */
export declare function extractLlmMessages(attrs: Record<string, unknown>): Array<{
    role: string;
    content: string;
}> | undefined;
/**
 * Build a default prompt template referencing the data available from prior tool steps.
 * The prompt uses {field} placeholders that map to input_maps at runtime.
 */
export declare function buildDefaultPrompt(priorSteps: ExtractedStep[]): Array<{
    role: string;
    content: string;
}>;
