import { type ChatStreamWatchdogOptions } from "../../chat/stream-watchdog.js"; import type { AgentTraceAttributes } from "./trace-attributes.js"; import type { HostedChatExecutionRuntimeLogger } from "./chat-execution-runtime.js"; import type { PreparedHostedChatExecutionRuntimeOptions } from "./prepared-chat-execution.js"; /** Environment key for hosted chat stream idle timeout. */ export declare const VERYFRONT_CHAT_STREAM_IDLE_TIMEOUT_ENV = "VERYFRONT_CHAT_STREAM_IDLE_TIMEOUT_MS"; /** Environment key for hosted chat stream active tool timeout. */ export declare const VERYFRONT_CHAT_STREAM_TOOL_TIMEOUT_ENV = "VERYFRONT_CHAT_STREAM_TOOL_TIMEOUT_MS"; type ChatStreamWatchdogEnv = Record; /** Resolve Veryfront Cloud chat stream watchdog timeout overrides from environment values. */ export declare function resolveVeryfrontCloudChatStreamWatchdogOptions(env?: ChatStreamWatchdogEnv): Pick; /** Derive hosted chat bootstrap watchdog options from resolved root stream watchdog options. */ export declare function resolveVeryfrontCloudStreamBootstrapWatchdogOptions(options: Pick): Pick; /** Input payload for create Veryfront Cloud prepared hosted chat execution runtime options. */ export type CreateVeryfrontCloudPreparedHostedChatExecutionRuntimeOptionsInput = { apiUrl: string | URL; tracer: PreparedHostedChatExecutionRuntimeOptions["tracer"]; logger?: HostedChatExecutionRuntimeLogger; trace?: (operationName: string, operation: () => Promise) => Promise; traceStream?: (operation: () => Promise) => Promise; setActiveSpanAttributes?: (attributes: AgentTraceAttributes) => void; createRootStreamWatchdog?: PreparedHostedChatExecutionRuntimeOptions["createRootStreamWatchdog"]; streamBootstrapKeepaliveIntervalMs?: PreparedHostedChatExecutionRuntimeOptions["streamBootstrapKeepaliveIntervalMs"]; streamBootstrapTimeoutMs?: PreparedHostedChatExecutionRuntimeOptions["streamBootstrapTimeoutMs"]; }; /** Options accepted by create Veryfront Cloud prepared hosted chat execution runtime. */ export declare function createVeryfrontCloudPreparedHostedChatExecutionRuntimeOptions(input: CreateVeryfrontCloudPreparedHostedChatExecutionRuntimeOptionsInput): PreparedHostedChatExecutionRuntimeOptions; export {}; //# sourceMappingURL=cloud-prepared-chat-execution-runtime.d.ts.map