import type { DashboardData, MultiServiceDashboardData } from './generator.js'; export declare function escapeHtml(s: string): string; export declare function buildTemplate(dataJson: string, data: DashboardData): string; export declare function buildMultiServiceTemplate(dataJson: string, data: MultiServiceDashboardData): string; /** * Render the `
` block containing the SVG graph. * Exported so tests can assert on rendered output directly (§6.2). * * Returns '' when data is null/undefined — caller does string concatenation * and the empty slot naturally collapses. * * Security: attacker-influenced strings (service names, step slugs) flow * through escapeHtml before reaching attribute values or text content. * data-steps holds JSON with escaped quotes (`"`); consumers decode * via replace(/"/g, '"') then JSON.parse. */ export declare function renderDependencyGraphSection(data: MultiServiceDashboardData['dependencyGraph']): string; //# sourceMappingURL=template.d.ts.map