import type { Plugin } from 'vite'; /** * Minify HTML while preserving HBS (Handlebars) template expressions. * * HBS expressions like {{csrfToken}} and {{{appAvatar}}} are temporarily * replaced with safe placeholders before minification, then restored after. */ export declare function minifyHtmlWithHbsProtection(html: string): Promise; export interface HtmlOutputPluginOptions { /** Whether running in development mode */ isDev: boolean; /** Output directory for built files */ outDir: string; } /** * Vite plugin to handle HTML output: * 1. In production: fixes HTML output path (removes extra 'client' directory) * 2. In development: writes transformed HTML to disk for backend to serve */ export declare function htmlOutputPlugin(options: HtmlOutputPluginOptions): Plugin; //# sourceMappingURL=html-output-plugin.d.ts.map