interface PluginContextLike { addWatchFile(path: string): void; } /** * Rewrite a user `.html?raw` import to a virtual raw id. Returns undefined * when the id doesn't match, so callers can fall through to the next check. * * Routed through a virtual id (rather than `?analog-raw`) so the path Vite * sees has no file extension — keeps vite:asset / vite:css from re-tagging * the id before our load hook runs. */ export declare function rewriteHtmlRawImport(id: string, importer: string | undefined): string | undefined; /** * Load a virtual raw module: reads the backing file, registers it for HMR * watching, and returns its content as a default-exported string. Returns * undefined when the id is not a virtual raw id. */ export declare function loadVirtualRawModule(ctx: PluginContextLike, id: string): Promise; export {};