import type { MCPServer } from '@openai/agents-core'; export declare const MCP_LIST_TOOLS_SUFFIX = "-list-tools"; export declare const MCP_CALL_TOOL_SUFFIX = "-call-tool"; export declare const MCP_SERVER_SESSION_SUFFIX = "-server-session"; export declare const MCP_STATEFUL_SUFFIX = "-stateful"; export declare const MCP_STATELESS_SUFFIX = "-stateless"; /** Error type for dedicated-Worker scheduling and heartbeat failures. */ export declare const DEDICATED_WORKER_FAILURE_TYPE = "DedicatedWorkerFailure"; /** * Stateful variant of `MCPServer`. Adds `cleanup()` — the documented * lifecycle method users invoke from `finally` blocks after `connect()`. */ export interface StatefulTemporalMCPServer extends MCPServer { cleanup(): Promise; } export interface StatefulMcpActivityInterceptorOptions { addTemporalSpans?: boolean; } export interface StatefulMcpServerSessionArgs { factoryArgument?: unknown; activityInterceptorOptions?: StatefulMcpActivityInterceptorOptions; }