import { type EffectiveAgentManifest } from '../agent-manifest/index.js'; import { checkBoundary } from './boundary-guard.js'; import { type MemoryRuntime } from './memory-runtime.js'; import { resolveModelRole } from './model-router.js'; import { type RuntimeToolRegistry, type ToolCatalogEntry } from './tool-registry.js'; import { type WorkflowCatalogEntry, type WorkflowResolution, type WorkflowValidationIssue } from './workflow-runtime.js'; import type { UserContextConfig } from '../user-context/config.js'; export interface AgentRuntimeProfile { manifest: EffectiveAgentManifest; promptSections: { capability: string; }; tools: RuntimeToolRegistry; memory: MemoryRuntime; resolveModel: (role?: string) => ReturnType; checkBoundary: (action: string, detail?: string) => ReturnType; resolveWorkflow: (intent?: string) => WorkflowResolution; validateWorkflow: (workflow: WorkflowCatalogEntry) => WorkflowValidationIssue[]; } export interface BuildAgentRuntimeProfileParams { manifest: EffectiveAgentManifest; userContext: UserContextConfig; toolCatalog: Iterable>; workflowCatalog?: Iterable; } export declare function buildAgentRuntimeProfile(params: BuildAgentRuntimeProfileParams): AgentRuntimeProfile;