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

interface ImportMetaEnv {
  readonly PUBLIC_CMS_URL: string;
  readonly PUBLIC_UMAMI_SCRIPT_URL?: string;
  readonly PUBLIC_UMAMI_WEBSITE_ID?: string;
  /** Formbricks-Instanz (ohne trailing slash), z. B. https://forms.pm86.de */
  readonly PUBLIC_FORMBRICKS_APP_URL?: string;
  /** Formbricks Environment ID (Setup Checklist) */
  readonly PUBLIC_FORMBRICKS_ENVIRONMENT_ID?: string;
}

interface ImportMeta {
  readonly env: ImportMetaEnv;
}

declare namespace App {
  interface Locals {
    translations?: Record<string, string>;
  }
}
