import type { GraphPayload, MemoryInsights } from "./insights.js"; /** * Dashboard snippets for MCP Apps (SEP-1865, extension `io.modelcontextprotocol/ui`, * spec version 2026-01-26). Each snippet is a self-contained HTML5 document served * as a predeclared `ui://` resource; UI-capable hosts render it in a sandboxed * iframe and stream the tool result in over postMessage JSON-RPC. Templates are * compiled-in strings (same no-frontend-build approach as src/dashboard/assets.ts) * and work offline under the spec's default CSP (inline script/style only, no * network), so the postMessage bridge below is hand-rolled rather than pulled from * `@modelcontextprotocol/ext-apps` — the snippet must be a single inline document. */ /** Spec-mandated mime type for MCP Apps HTML templates (mirrors ext-apps RESOURCE_MIME_TYPE). */ export declare const UI_MIME_TYPE = "text/html;profile=mcp-app"; /** Reverse-DNS extension id hosts advertise in initialize capabilities.extensions. */ export declare const UI_EXTENSION_ID = "io.modelcontextprotocol/ui"; export declare const INSIGHTS_RESOURCE_URI = "ui://augment/insights.html"; export declare const GRAPH_RESOURCE_URI = "ui://augment/graph.html"; /** * JSON destined for an inline ` (or `