import { type McpUiResourceCsp, type McpUiResourcePermissions } from "@modelcontextprotocol/ext-apps/app-bridge"; import type { AgentMcpAppPayload } from "../../mcp-client/app-result.js"; export declare const DEFAULT_MCP_APP_IFRAME_HEIGHT = 650; export declare const MCP_APP_INITIALIZE_TIMEOUT_MS = 8000; export interface McpAppRendererProps { app: AgentMcpAppPayload; className?: string; } export declare function McpAppRenderer({ app, className }: McpAppRendererProps): import("react").JSX.Element; export declare function supportedMcpAppPermissions(permissions: McpUiResourcePermissions | undefined): McpUiResourcePermissions; export declare function isMcpAppReadyMessage(data: unknown): boolean; export declare function buildMcpAppCsp(csp: McpUiResourceCsp | undefined): string; export declare function availableMcpAppHeight(element: HTMLElement | null | undefined): number; export declare function clampMcpAppHeight(desiredHeight: number, maxVisibleHeight: number): number; //# sourceMappingURL=McpAppRenderer.d.ts.map