/** * Host SDK — re-exports from the host shell's Module Federation remote. * * Provides RUNTIME values: the authenticated user's current locale, account * currency, timezone, and formatting utilities. These may vary per user session. * * Usage: * import { formatCurrency, formatDate, locale } from "../sdk/host" * * The "host/sdk" remote is registered in the daas.json remotes config and * resolved at runtime by Module Federation v2. * * ─── Distinction from regionConfig ──────────────────────────────────────── * host/sdk → runtime values (user's session locale, live rates, account config) * regionConfig → build-time constants (which features exist, format defaults) * * Example: `host.currency` might be user-selected ("USD" or "EUR" in the same * region); `regionConfig.currency` is always "GBP" for all UK builds and is * used for feature gating and build-time code exclusion — not for display. */ // biome-ignore lint/suspicious/noExplicitAny: MF2 dynamic import type export const { locale, currency, timezone, formatCurrency, formatDate, formatNumber, } = await import("host/sdk" as any)