/**
 * Step input wiring logic for the build pipeline stage.
 */
import type { ExtractedStep, EnhancedCompilationPlan } from '../../types';
/**
 * Build input mappings for a step using the compilation plan's data flow edges.
 * Falls back to mechanical backward-scan when no plan is available.
 */
export declare function wireStepInputs(stepIdx: number, step: ExtractedStep, plan: EnhancedCompilationPlan | null, stepIndexToActivityId: Map<number, string>, triggerId: string, triggerInputKeys: Set<string>, steps: ExtractedStep[], prefix: string, prevActivityId: string, prevResult: unknown, collapsedToCoreIndex?: Map<number, number>): Record<string, unknown>;
