// Type definitions for the splash screen application

export interface Glue42SplashApi {
  on: (event: string, callback: (arg: any) => void) => void;
}

export interface StatusUpdateEvent {
  text: string;
}

export interface PingGWEvent {
  gwURL: string;
}

export interface URLParams {
  message?: string;
  version?: string;
  env?: string;
  region?: string;
}

declare global {
  interface Window {
    glue42splash: {
      on: (event: string, callback: (arg: any) => void) => void;
    };
  }
}
