/** * `@noy-db/hub/i18n` — subpath export for the multi-locale primitives. * * Apps that only speak English never have to import from this subpath * — the main `@noy-db/hub` entry still re-exports these symbols for * backward compatibility through.x. Consumers that opt into the * subpath import get a smaller bundle (~2 KB estimated savings). * * Re-exports: * - `dictKey`, `DictionaryHandle`, dictionary collection helpers * - `i18nText`, `resolveI18nText`, `applyI18nLocale`, validators */ export * from './core.js'; export * from './dictionary.js'; export { resolvePolicy } from './policy.js'; export type { OnMissing, Layer, OnMissingPolicy } from './policy.js'; export { inferScripts, enforceScript } from './script.js'; export type { ScriptWarning } from './script.js'; export { withI18n } from './active.js'; export type { I18nStrategy } from './strategy.js'; export { ReservedCollectionNameError, DictKeyMissingError, DictKeyInUseError, MissingTranslationError, LocaleNotSpecifiedError, TranslatorNotConfiguredError, ScriptViolationError, StaticDictReadonlyError, UnknownDictCodeError, } from '../../kernel/errors.js';