/// <reference types="astro/client" />

interface Window {
  overdeckTheme?: {
    get: () => 'light' | 'dark' | 'system'
    set: (pref: 'light' | 'dark' | 'system') => void
  }
}

interface ImportMetaEnv {
  /** Server-only (no PUBLIC_ prefix) — read solely by src/pages/api/collector/[...path].ts. */
  readonly COLLECTOR_URL: string
  readonly COLLECTOR_TOKEN: string
}
