/**
 * Utility functions for the build pipeline stage.
 */
/**
 * Check if two keys are semantically related (for computed key fallback).
 * Replicates the logic from pattern-detector but local to the build stage.
 */
export declare function keysRelated(a: string, b: string): boolean;
/** Cap `limit` in tool arguments to avoid sending huge payloads to downstream LLM steps. */
export declare function capToolArguments(args: Record<string, unknown>): Record<string, unknown>;
/** Convert a snake_case/camelCase field name to a readable label. */
export declare function humanize(name: string): string;
/**
 * Infer a JSON Schema from a sample value, recursively.
 */
export declare function inferSchema(value: unknown, withDefault?: boolean): Record<string, unknown>;
/**
 * Build data mappings from a previous activity's output fields.
 */
export declare function buildInputMappings(prevActivityId: string, prevResult: unknown): Record<string, string>;
