export declare const AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES: { readonly HOST_CONTEXT: "agentNative.mcpHostContext"; readonly UPDATE_MODEL_CONTEXT: "agentNative.mcpHost.updateModelContext"; readonly OPEN_LINK: "agentNative.mcpHost.openLink"; readonly REQUEST_DISPLAY_MODE: "agentNative.mcpHost.requestDisplayMode"; readonly RESPONSE: "agentNative.mcpHost.response"; }; export type AgentNativeMcpAppHostMessageType = (typeof AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES)[keyof typeof AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES]; export type McpAppDisplayMode = "inline" | "pip" | "fullscreen" | (string & {}); export interface McpAppModelContextContentPart { type: string; [key: string]: unknown; } export interface McpAppModelContextUpdate { content?: McpAppModelContextContentPart[]; structuredContent?: unknown; } export type McpAppHostRequestMode = "act" | "plan"; export interface McpAppHostChatMessage { message: string; context?: string; content?: McpAppModelContextContentPart[]; structuredContent?: unknown; mode?: McpAppHostRequestMode; requestMode?: McpAppHostRequestMode; } export interface McpAppHostCapabilities { updateModelContext?: boolean; openLink?: boolean; displayModes?: McpAppDisplayMode[]; [key: string]: unknown; } export interface McpAppHostContext { capabilities?: McpAppHostCapabilities; [key: string]: unknown; } export interface McpAppHostContextSnapshot { context: McpAppHostContext | null; capabilities: McpAppHostCapabilities | null; version: unknown; } export declare function sendMcpAppHostMessage(chat: McpAppHostChatMessage): Promise | false; export declare function getMcpAppHostContext(): McpAppHostContextSnapshot; export declare function useMcpAppHostContext(): McpAppHostContextSnapshot; export declare function updateMcpAppModelContext(update: McpAppModelContextUpdate): Promise | false; export declare function openMcpAppHostLink(url: string): Promise | false; export declare function requestMcpAppDisplayMode(mode: McpAppDisplayMode): Promise | false; /** Internal test helper. Do not use in app code. */ export declare function _resetMcpAppHostForTests(): void; //# sourceMappingURL=mcp-app-host.d.ts.map