import { type HostToolSet } from "../../tool/index.js"; import { type HostedChatRuntimeCreationResult } from "./chat-runtime-contract.js"; import type { HostedConversationRootRunContext } from "../conversation/root-run-lifecycle.js"; import { type AgentRuntimeMessage } from "../runtime/message-adapter.js"; import { type DefaultHostedChatRuntimeCreationOptions, type DefaultHostedChatRuntimeTaskContext } from "./default-chat-runtime.js"; import { type AgentServiceRuntimeConfig, type CreateAgentServiceRuntimeOptions } from "../service/runtime.js"; import type { AgentServiceServerLifecycle } from "../service/server.js"; import type { ParsedHostedChatRequest } from "./chat-request-parser.js"; import type { PreparedHostedChatExecution } from "./prepared-chat-execution.js"; import { type NodeVeryfrontCloudAgentServiceContext } from "./cloud-agent-config.js"; /** Full type of a prepared cloud agent chat execution, ready to stream or detach. */ export type NodeVeryfrontCloudAgentServicePreparedExecution = PreparedHostedChatExecution & { config: AgentServiceRuntimeConfig; agent: HostedChatRuntimeCreationResult["agent"]; runtimeKind: "framework"; finalMessages: AgentRuntimeMessage[]; messages: PreparedHostedChatExecution["messages"]; rootRunContext: HostedConversationRootRunContext; }; /** Builds the local tool set for a root chat runtime task context. */ export declare function buildLocalTools(context: NodeVeryfrontCloudAgentServiceContext, options: DefaultHostedChatRuntimeCreationOptions, taskContext: DefaultHostedChatRuntimeTaskContext): HostToolSet; /** Creates the project steering refresh object for the chat runtime. */ export declare function createProjectSteeringRefresh(context: NodeVeryfrontCloudAgentServiceContext): (input: import("./default-chat-runtime.js").DefaultHostedChatRuntimeSystemRefreshInput) => Promise; /** Creates the hosted chat runtime for the given options. */ export declare function createAgentRuntime(context: NodeVeryfrontCloudAgentServiceContext, options: DefaultHostedChatRuntimeCreationOptions): Promise; /** Prepares the chat execution within the project agent runtime scope. */ export declare function prepareChatExecutionWithinProjectRuntime(context: NodeVeryfrontCloudAgentServiceContext, req: ParsedHostedChatRequest): Promise; /** Prepares the chat execution, running within the project agent runtime. */ export declare function prepareChatExecution(context: NodeVeryfrontCloudAgentServiceContext, req: ParsedHostedChatRequest): Promise; /** Creates the prepared execution runtime options for streaming and detached runs. */ export declare function createPreparedExecutionRuntimeOptions(context: NodeVeryfrontCloudAgentServiceContext, config: AgentServiceRuntimeConfig): import("./prepared-chat-execution.js").PreparedHostedChatExecutionRuntimeOptions; /** Creates and starts the control plane registration lifecycle if enabled. */ export declare function createControlPlaneRegistrationLifecycle(context: NodeVeryfrontCloudAgentServiceContext): Promise; /** Builds the full CreateAgentServiceRuntimeOptions for the cloud agent service. */ export declare function createNodeVeryfrontCloudAgentServiceRuntimeOptions(context: NodeVeryfrontCloudAgentServiceContext): CreateAgentServiceRuntimeOptions; /** Public type alias for the prepared execution type. */ export type { NodeVeryfrontCloudAgentServicePreparedExecution as PreparedExecution }; //# sourceMappingURL=cloud-agent-chat-execution.d.ts.map