/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { BuildPerfMode } from "./types.js"; /** * Directory containing the template source files (dashboard.ejs, dashboard.css, dashboard.ts). * At runtime the compiled dashboard.js is read from this directory. */ export declare const TEMPLATES_DIR: string; /** * Generate a standalone HTML dashboard by rendering the EJS template * with CSS, JS, and data inlined. * * @param templatePath - Path to the dashboard.ejs file. * @param dataJson - Stringified JSON data to inject. * @param mode - The build perf mode ("public" or "internal"). * @returns The generated HTML string with all assets inlined. */ export declare function generateStandaloneHtml(templatePath: string, dataJson: string, mode: BuildPerfMode): string; /** * Generate a multi-mode HTML dashboard for Azure Static Web Apps deployment. * The generated HTML fetches data from `data/*.json` at runtime instead of * inlining it, and shows tabs for both public and internal modes. * * @param templatePath - Path to the dashboard.ejs file. * @returns The generated HTML string (no data inlined). */ export declare function generateAswaHtml(templatePath: string): string; //# sourceMappingURL=htmlGenerator.d.ts.map