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

interface ImportMetaEnv {
  /** Hosted SaaS Supabase project URL — in-app account-link login. Empty → link UI shows a configure state. */
  readonly VITE_SAAS_SUPABASE_URL: string;
  /** Hosted SaaS Supabase anon/publishable key (public). */
  readonly VITE_SAAS_SUPABASE_ANON_KEY: string;
  /** Hosted SaaS Java backend base URL — attended portal→SaaS reads (wallet, invoices, …) via apiClient.saas with the admin's JWT. */
  readonly VITE_SAAS_API_URL: string;
  /** Stripe publishable key (pk_live_… / pk_test_…) used by embedded Checkout. */
  readonly VITE_STRIPE_PUBLISHABLE_KEY: string;
  /** URL of the editor app (app switcher + non-admin redirect). See editor/.env.proprietary. */
  readonly VITE_EDITOR_URL: string;
  /** Force MSW mocks on/off ("true"/"false"); empty falls back to dev default. */
  readonly VITE_PORTAL_MOCKS: string;
}

interface ImportMeta {
  readonly env: ImportMetaEnv;
}
