/** * Unified UI Bridge Architecture * * Uses @modelcontextprotocol/ext-apps SDK as the foundation for ALL UI communication. * Beam becomes just another MCP Apps host. * * Key principle: No Beam-specific protocol layer. All features achieved via * MCP Apps Extension spec + custom JSON-RPC notifications that any host can implement. */ import type { PhotonBridgeContext } from './types.js'; export type { PhotonBridgeContext, BridgeMethodMeta, SizeConstraints, PhotonAPI, OpenAIAPI, ProgressNotification, StatusNotification, StreamNotification, EmitNotification, ChannelEventNotification, } from './types.js'; /** * Generate the complete bridge script for injection into iframes * * This script provides: * - window.photon API (PhotonApp-based) * - window.openai API (compatibility shim) * - Automatic theme application * - MCP Apps protocol handshake */ export declare function generateBridgeScript(context: PhotonBridgeContext): string; /** * Generate bridge script with legacy compatibility * * This is a drop-in replacement for generatePlatformBridgeScript from platform-compat.ts */ export declare function generatePlatformBridgeScript(context: { theme: 'light' | 'dark'; locale?: string; displayMode?: string; photon?: string; method?: string; hostName?: string; hostVersion?: string; injectedPhotons?: string[]; }): string; //# sourceMappingURL=index.d.ts.map