import Alpine from "@alpinejs/csp"; // Extend Window interface to include Alpine. The `htmx` member is declared // once in shims.d.ts — redeclaring it here with a different shape is a // compile error (TS2717) and split-brained typing. declare global { interface Window { Alpine: typeof Alpine; } } // Initialize Alpine window.Alpine = Alpine; // Re-export Alpine for other modules to use export { Alpine };