import { en } from './en'; import { ja } from './ja'; import { ko, MessageKey } from './ko'; export type { MessageKey }; /** UI 크롬 언어. 콘텐츠 `LangCode`의 부분집합(zh 미포함). */ export type UiLocale = 'ko' | 'en' | 'ja'; /** UI에서 선택 가능한 로케일 목록(순서 = 표시 순서). */ export declare const UI_LOCALES: readonly UiLocale[]; export type MessageParams = Record; /** `t()` 시그니처 — controller가 노출하고 뷰가 소비. */ export type Translator = (key: MessageKey, params?: MessageParams) => string; /** * 키 → 로케일 문자열. `{name}` 형태 파라미터를 치환한다. * 폴백: 로케일에 키 없음 → ko → 키 원문(누락 시각화, 렌더 깨짐 방지). */ export declare function translate(locale: UiLocale, key: MessageKey, params?: MessageParams): string; export { ko, en, ja };