import Alpine from "alpinejs";

// Extend Window interface to include Alpine
declare global {
  interface Window {
    Alpine: typeof Alpine;
    htmx: {
      trigger: (element: HTMLElement | string, event: string) => void;
    };
  }
}

// Initialize Alpine
window.Alpine = Alpine;

// Re-export Alpine for other modules to use
export { Alpine };
