import type { RoutingInstruction, RoutingInstructionState } from '../routing-instructions.js';
import type { RouterMetadataInput, TargetMetadata, RoutingDecision, RoutingDiagnostics } from '../types.js';
import type { VirtualRouterEngine } from '../engine-legacy.js';
import type { RoutingSelectionResult } from './route-selection.js';
export declare function finalizeRoutingDecision(engine: VirtualRouterEngine, metadata: RouterMetadataInput, routingState: RoutingInstructionState, metadataInstructions: RoutingInstruction[], instructions: RoutingInstruction[], selectionResult: RoutingSelectionResult): {
    target: TargetMetadata;
    decision: RoutingDecision;
    diagnostics: RoutingDiagnostics;
};
