/**
* Wraps HTML/HTMX TypeScript/JavaScript scripts with import.meta.hot support
* for granular HMR updates. This allows script changes to hot-reload
* without triggering a full HTML page rebuild.
*
* The wrapper is minimal - it just adds import.meta.hot.accept() so Bun
* knows this module can be hot-reloaded. Event listener cleanup is handled
* by the HMR client (cloning elements before script re-execution).
*/
/**
* Wrap a script with HMR support using Bun's import.meta.hot API
* @param code - The original script code
* @param scriptId - Unique identifier for this script (usually the file path)
* @returns Wrapped code with HMR support
*/
export declare const isHTMLScript: (filePath: string, htmlDir?: string, htmxDir?: string) => boolean;
export declare const wrapHTMLScriptWithHMR: (code: string, scriptId: string) => string;