/** * vedic-chart-app.ts — MCP App tool registration for the Vedic Chart Explorer. * * Entry tool [model + app]: * • explore_vedic_chart — natal Vedic (Jyotish) chart, data + UI resource * App-only tool: * • vedic_chart_recalculate — re-fetch with a different theme (dark/light * reconciliation, mirrors bodygraph_recalculate) — no client-side param * controls in v1, just the theme round-trip main.ts needs on mount. * * The South Indian Rashi grid is rendered server-side by the Go engine * (handler_vedic_visual.go via POST /vedic/chart?include_visual=true) and * inlined by the iframe — same Phase 4 "Go SVG is the source of truth" * pattern as bodygraph-app.ts. /vedic/chart is not a binary endpoint, so the * visual.data field is already a raw SVG string (no base64 decode needed). * * Also exports resource helpers (getVedicChartBundle, etc.) for use in * index.ts and server-sse.ts. */ export declare const VEDIC_CHART_RESOURCE_URI = "ui://openephemeris/vedic-chart"; export declare const VEDIC_CHART_MIME_TYPE = "text/html;profile=mcp-app"; /** Read the pre-built HTML bundle. Returns null if not yet built. */ export declare function getVedicChartBundle(): string | null; /** Reset cache (useful in dev watch mode or tests). */ export declare function clearVedicChartBundleCache(): void;