/// export interface Window { Chart: new (ctx: any, config: any) => any; PhoenixAnalyticsDashboard: { t: (key: string, args?: any) => string; }; jQuery: JQuery; Drupal: { formatString: (str: string, args: any) => string; ajax: (str: string, args: any) => any; behaviors: Record< string, { attach: (context: any, settings: any) => void; } >; }; jspdf: { jsPDF: new (...args: any[]) => any; }; once: (...args: any[]) => any; } // 💡 How to use in your module: // // import { DrupalSettings } from "@assettv/shared-modules/types.js" // // interface TemplateWindow extends Window { // drupalSettings: DrupalSettings; // } // // declare global { // interface Window extends TemplateWindow {} // } //