import type { AgentNodeDefinition, RuntimeSelectionMetadata, WorkflowDefinition, WorkflowDiagnostic, WorkflowErrorSummary, WorkflowRun } from "../types/index.js"; import type { AgentProfileResolver, OneNodeAgentExecutorResult, ResolvedAgentProfile } from "./pibo-routing.js"; export declare function resolveAgentProfileForRuntime(options: { workflow: WorkflowDefinition; run: WorkflowRun; nodeId: string; node: AgentNodeDefinition; resolver?: AgentProfileResolver; }): Promise<{ ok: true; profile: ResolvedAgentProfile; } | { ok: false; diagnostics: WorkflowDiagnostic[]; error: WorkflowErrorSummary; }>; export declare function linkWorkflowRunToAgentSession(run: WorkflowRun, node: AgentNodeDefinition, executorResult: OneNodeAgentExecutorResult): void; export declare function createAgentRuntimeSelectionMetadata(options: { run: WorkflowRun; node: AgentNodeDefinition; profile: ResolvedAgentProfile; executorResult: OneNodeAgentExecutorResult; }): RuntimeSelectionMetadata; export declare function agentExecutorErrorSummaryFromCaught(caught: unknown): WorkflowErrorSummary; //# sourceMappingURL=agent-runtime.d.ts.map