import type { Locale } from '@urbicon-ui/i18n'; import type { AuthLocale } from './keys.js'; /** * Put `bundle` under `locale` and re-render whatever read the registry. * Unchecked — `registerAuthLocale` is the write-strict public entry, and it * stays out of this module because its checks come from `@urbicon-ui/i18n`: * the root entry ships Svelte components Node cannot load, and the subpath * that re-exports the checks without them, `/audit`, is documented as dev-only, * which a server runtime dependency on it would contradict. Internal: not a * package export. */ export declare function storeAuthLocale(locale: Locale, bundle: AuthLocale): void; /** Whether `locale` has a bundle — `en` always does. Internal: not a package export. */ export declare function hasAuthLocale(locale: Locale): boolean; /** * Resolve the full `AuthLocale` bundle for a locale **without** any Svelte * context — the SSR-/server-safe counterpart to `useAuthLocale`, which reads * through this. Used by the server-side email builders to localize the default * transactional mails from `config.email.locale`. Falls back to the English * bundle when `locale` is omitted or has no registered bundle, so callers never * have to guard; the mail path additionally warns once when a configured locale * turns out to have none. `registerAuthLocale` is how a locale gets one. */ export declare function resolveAuthLocale(locale?: Locale): AuthLocale;