import { TranslationDictionary } from './I18nProvider'; /** * Where a nested dictionary keeps the value of a key that is ALSO a branch. * * `healthybowl.common.confirm` ("Confirm") and `healthybowl.common.confirm.title` * ("Are you sure?") cannot both live at one path of a nested object, so the * leaf is stored beside its children as `confirm._`. The product extractors * write that slot, the seed stores such a key literally as `….confirm._`, and * the i18n export serves it nested — so the translation already reaches the * client. Nothing read it: `t('healthybowl.common.confirm')` walked to the * object and returned undefined, and the call site's inline English rendered * in every locale (13 HealthyBowl keys, BOFF-7438; BOFF-7459). */ export declare const LEAF_SLOT = "_"; /** * Resolve a dot-notated translation key from a dictionary: the string at that * path, or — when the path names a branch — the string in its `_` slot. * * A branch with no `_` string still resolves to undefined, so the caller's * fallback renders rather than "[object Object]". */ export declare function resolveTranslationValue(dictionary: TranslationDictionary | undefined, key: string): string | undefined; //# sourceMappingURL=resolveTranslation.d.ts.map