export const LOCALE_STORAGE_KEY = "locale";
export const DEFAULT_LOCALE = "ko";
export const SUPPORTED_LOCALES = ["ko", "en"] as const;

export type Locale = (typeof SUPPORTED_LOCALES)[number];

export type TomlValue = string | TomlObject;

export interface TomlObject {
  [key: string]: TomlValue;
}

export interface TranslatorOptions {
  normalizeEscapedNewlines?: boolean;
}

export interface TranslatorInput {
  en: string[];
  ko: string[];
}
