export declare const MCP_APP_EXTENSION_ID = "io.modelcontextprotocol/ui"; export declare const MCP_APP_RESOURCE_MIME_TYPE = "text/html;profile=mcp-app"; export interface McpAppToolUi { resourceUri?: string; visibility: readonly ("model" | "app")[]; } export interface McpAppResourceInput { uri: string; html: string; contentHashSha256: string; csp?: { connectDomains?: string[]; resourceDomains?: string[]; frameDomains?: string[]; baseUriDomains?: string[]; }; permissions?: { camera?: Record; microphone?: Record; geolocation?: Record; clipboardWrite?: Record; }; domain?: string; prefersBorder?: boolean; } /** Validates and normalizes the standardized MCP Apps resource metadata before the host snapshots executable HTML. */ export declare function mcpAppResourceInput(uri: string, html: string, contentHashSha256: string, meta: Readonly> | undefined): McpAppResourceInput; /** Parses the standardized MCP Apps tool metadata while accepting the extension's temporary legacy resource URI key. */ export declare function mcpAppToolUi(meta: Readonly> | undefined): McpAppToolUi; export declare function mcpAppToolVisibleTo(meta: Readonly> | undefined, audience: "model" | "app"): boolean; //# sourceMappingURL=mcpApp.d.ts.map