import type { AgUiResumeValue } from "../ag-ui/tool-shared.js"; import { type HostedAgentProjectSteering } from "./agent-project-steering.js"; import { type ProjectAgentRuntimeDiscovery } from "../project/agent-runtime.js"; import type { RuntimeAgentMarkdownDefinition } from "../runtime/agent-definition.js"; import type { ResolvedNodeVeryfrontCloudAgentServiceOptions } from "./cloud-agent-provider-bootstrap.js"; import type { SkillDocumentParserProvider } from "../../extensions/parser/skill-document-parser.js"; import { type RemoteMCPToolSourceConfig, type RemoteToolSource } from "../../tool/index.js"; /** * Full runtime context for a running cloud agent service instance. * Typed as the return of its creator so accessors can use the inferred shape. */ export type NodeVeryfrontCloudAgentServiceContext = ReturnType; /** Resolve the deployment-owned remote source factory, preserving guarded egress by default. */ export declare function getRemoteToolSourceFactory(context: Pick): (config: RemoteMCPToolSourceConfig) => RemoteToolSource; /** Creates the shared runtime context for a cloud agent service instance. */ export declare function createNodeVeryfrontCloudAgentServiceContext(options: ResolvedNodeVeryfrontCloudAgentServiceOptions): { options: ResolvedNodeVeryfrontCloudAgentServiceOptions; processTarget: any; projectDir: string; infrastructure: import("../index.js").NodeAgentServiceRuntimeInfrastructure; trace: { (operationName: string, operation: () => Promise): Promise; (operationName: string, operation: () => TResult): TResult; }; defaultAgentId: string | null; projectSteeringByAgentId: Map; tracker: import("../index.js").DetachedRunTracker; discoveryResult: ProjectAgentRuntimeDiscovery | null; agentConfig: RuntimeAgentMarkdownDefinition | null; agentConfigs: Map; name: import("../../internal-agents/schema.js").Schema; description: import("../../internal-agents/schema.js").Schema; avatarUrl: import("../../internal-agents/schema.js").Schema; instructions: import("../../internal-agents/schema.js").Schema; system: import("../../internal-agents/schema.js").Schema; thinking: import("../../internal-agents/schema.js").Schema; budgetTokens: import("../../internal-agents/schema.js").Schema; }> | undefined>; model: import("../../internal-agents/schema.js").Schema; temperature: import("../../internal-agents/schema.js").Schema; maxSteps: import("../../internal-agents/schema.js").Schema; providerTools: import("../../internal-agents/schema.js").Schema; skills: import("../../internal-agents/schema.js").Schema; tools: import("../../internal-agents/schema.js").Schema; deniedTools: import("../../internal-agents/schema.js").Schema; delegates: import("../../internal-agents/schema.js").Schema; mcpServers: import("../../internal-agents/schema.js").Schema; id: import("../../internal-agents/schema.js").Schema; toolPolicy: import("../../internal-agents/schema.js").Schema; deny: import("../../internal-agents/schema.js").Schema; approval: import("../../internal-agents/schema.js").Schema<"never" | undefined>; }> | undefined>; }>[] | undefined>; }>>; skillDocumentParserProvider: Readonly | null; }; /** Resolves and caches the agent config for the given agent id. */ export declare function resolveAgentConfig(context: NodeVeryfrontCloudAgentServiceContext, agentId: string): Promise; /** Returns the resolved agent config, throwing if the context has not been initialized. */ export declare function getResolvedAgentConfig(context: NodeVeryfrontCloudAgentServiceContext): RuntimeAgentMarkdownDefinition; /** Returns the discovered project agent runtime, throwing if not yet initialized. */ export declare function getProjectAgentRuntime(context: NodeVeryfrontCloudAgentServiceContext): ProjectAgentRuntimeDiscovery; /** Discovers project primitives and resolves the default agent id and config. */ export declare function initializeNodeVeryfrontCloudAgentServiceContext(context: NodeVeryfrontCloudAgentServiceContext): Promise; /** Returns the default agent id, throwing if the context has not been initialized. */ export declare function getDefaultAgentId(context: NodeVeryfrontCloudAgentServiceContext): string; /** Returns (and caches) the project steering object for the given agent id. */ export declare function getProjectSteering(context: NodeVeryfrontCloudAgentServiceContext, agentId?: string): HostedAgentProjectSteering; //# sourceMappingURL=cloud-agent-config.d.ts.map