/** * Hook for building MCP Apps host context (SEP-1865) */ import type { McpUiHostContext } from "@modelcontextprotocol/ext-apps/app-bridge"; import type { Tool } from "@modelcontextprotocol/sdk/types.js"; import type { PlaygroundSettings } from "../context/WidgetDebugContext"; type DisplayMode = "inline" | "pip" | "fullscreen"; interface HostContextParams { theme: "light" | "dark"; displayMode: DisplayMode; maxWidth: number; maxHeight: number; playground: PlaygroundSettings; deviceType: string; toolCallId: string; toolName: string; toolInput?: Record; toolOutput?: unknown; toolMetadata?: Record; tool?: Tool; } /** * Build SEP-1865 compliant host context for MCP Apps */ export declare function useMcpAppsHostContext({ theme, displayMode, maxWidth, maxHeight, playground, deviceType, toolCallId, toolName, toolInput, toolOutput, toolMetadata, tool, }: HostContextParams): McpUiHostContext; export {}; //# sourceMappingURL=useMcpAppsHostContext.d.ts.map