/**
 * Consent SDK Types — Translations and i18n
 */

import type { ConsentCategory } from './core';

// =============================================================================
// Translations
// =============================================================================

/**
 * Uebersetzungsstruktur
 */
export interface ConsentTranslations {
  title: string;
  description: string;
  acceptAll: string;
  rejectAll: string;
  settings: string;
  saveSelection: string;
  close: string;
  categories: {
    [K in ConsentCategory]: {
      name: string;
      description: string;
    };
  };
  footer: {
    privacyPolicy: string;
    imprint: string;
    cookieDetails: string;
  };
  accessibility: {
    closeButton: string;
    categoryToggle: string;
    requiredCategory: string;
  };
}

/**
 * Alle unterstuetzten Sprachen
 */
export type SupportedLanguage =
  | 'de' | 'en' | 'fr' | 'es' | 'it' | 'nl' | 'pl' | 'pt'
  | 'cs' | 'da' | 'el' | 'fi' | 'hu' | 'ro' | 'sk' | 'sl' | 'sv';
