import type { EffectiveAgentManifest } from '../agent-manifest/schema.js'; import type { RuntimeToolRegistry } from './tool-registry.js'; export interface WorkflowPhaseDefinition { id: string; modelRole?: string; requiredTools?: string[]; } export interface WorkflowCatalogEntry { id: string; description?: string; phases: WorkflowPhaseDefinition[]; } export interface ResolveWorkflowParams { manifest: EffectiveAgentManifest; catalog: Iterable; intent?: string; } export interface WorkflowResolution { workflow?: WorkflowCatalogEntry; reason: string; } export interface WorkflowValidationIssue { path: string; message: string; } export declare function resolveWorkflow(params: ResolveWorkflowParams): WorkflowResolution; export declare function validateWorkflowForRuntime(params: { manifest: EffectiveAgentManifest; workflow: WorkflowCatalogEntry; tools: RuntimeToolRegistry; }): WorkflowValidationIssue[];