/// <reference types="@astrojs/image/client" />
/// <reference types="./types/SiteImage" />

interface Window {
  theme: {
    setTheme: (theme: "auto" | "dark" | "light") => void;
    getTheme: () => "auto" | "dark" | "light";
    getSystemTheme: () => "light" | "dark";
    getDefaultTheme: () => "auto" | "dark" | "light";
  };
  navbarDisplay: "normal" | "transparent";
  player: any;
  playerIsInitialised: boolean;
}

interface ImportMetaEnv {
  readonly EMAIL_USER: string;
  readonly EMAIL_PASS: string;
  readonly EMAIL_PORT: number;
  readonly EMAIL_SECURE: "true" | "false";
  readonly EMAIL_HOST: string;
  readonly EMAIL_FROM: string;
}

interface ImportMeta {
  readonly env: ImportMetaEnv;
}
