/** * Tax-calculation settings. Admin `setting` first, then the legacy `pricing.tax.*` config, then * the default. All SYNCHRONOUS (cache-only) so they are safe inside `calculateTaxAmount` and the * cart/promotion field resolvers. See `getStoreCurrency` (`modules/setting/services/setting.ts`) * for the DB → config → default pattern; values are coerced because settings come back as strings. * * NOTE on defaults: the fallbacks below match the *inline* `getConfig(...)` fallbacks the runtime * used before this change (`round_level: 'unit'`, `price_including_tax: false`), NOT the tax * bootstrap module defaults (`'total'` / `true`). In a running app the bootstrap defaults still * win (they populate `config`, so `getConfig` returns them); these inline fallbacks only surface * when neither a DB setting, a config value, nor a bootstrap ran (e.g. DB-less unit tests) — so * keeping them preserves the previous behaviour exactly. */ declare const ROUNDING_MODES: readonly ["round", "ceil", "floor", "up", "down"]; declare const ROUND_LEVELS: readonly ["total", "line", "unit"]; export declare function getTaxRounding(): (typeof ROUNDING_MODES)[number]; export declare function getTaxPrecision(): number; export declare function getTaxRoundLevel(): (typeof ROUND_LEVELS)[number]; export declare function getPriceIncludingTax(): boolean; export {};