import { type ISO4217Code, MoneyPrimitive } from "./mod.js"; type $$ComponentProps = { /** Amount in minor or major units (see unit prop) */ amount?: number | null | undefined; /** * MoneyPrimitive instance. When provided, amount, currency, and unit * are derived from the primitive. Takes precedence over raw amount. */ money?: MoneyPrimitive; /** * Whether the amount is in 'major' (e.g., pesos) or 'minor' (e.g., centavos) units. * @deprecated Use `money` prop with MoneyPrimitive instead. * Defaults to 'minor' for backward compatibility. */ unit?: "major" | "minor"; /** String to display if amount is null, undefined, or NaN. Defaults to "—" */ fallback?: string; /** Override currency code (defaults to CurrencyStore.current) */ currency?: ISO4217Code | string; /** The currency the amount is stored in (e.g. MXN) */ sourceCurrency?: ISO4217Code | string; /** Show the original currency as a label */ showSourceCurrency?: boolean; /** Fallback text if conversion is needed but rates are missing */ noRatesFallback?: string; /** Override locale (defaults to LanguageStore.current) */ locale?: string; /** Use compact notation (e.g., $1.2M) */ compact?: boolean; }; declare const MoneyDisplay: import("svelte").Component< $$ComponentProps, {}, "" >; type MoneyDisplay = ReturnType; export default MoneyDisplay;