// resources/assets/ts/types/window.d.ts 

//note: created during contacts page update with agb/erg integration
interface Window {
  userAuth?: {
    vorname?: string;
    name?: string;
    isAdmin?: boolean;
    canEdit?: boolean;
    canDelete?: boolean;
    showMonitor?: boolean;
    showCalendar?: boolean;
    showDataview?: boolean;
    showConfig?: boolean;
    showUseredit?: boolean;
    showSystem?: boolean;
    showMobileConfig?: boolean;
    showContacts?: boolean;
    showDownload?: boolean;
    showBhb?: boolean;
    showLoRaWan?: boolean;
    showZeiterfassung?: boolean;
    showMap?: boolean;
    checkboxPerm?: number;
    permID?: number;
    groupPermID?: string;
    checkedPerm?: string;
  };
  __INITIAL_DATA__?: {
    adresses?: any[];
    userOptions?: Record<string, string>;
    orderTypes?: any[];
    dyns?: any[];
    csrfToken?: string;
    currentUser?: string; // This is the krzl!
  };
  csrfToken?: string;
  taskoUpload?: Record<string, File>;
}