/** * Locale and Date Formatting Constants * * Constants for formatting dates, numbers, and locale-specific values. * * @module locale/formats */ /** * Number and currency formatting constants */ export declare const LOCALE_FORMATS: { /** * Locale separator character */ readonly LOCALE_SEPARATOR: "-"; /** * BCP 47 separator character */ readonly BCP47_SEPARATOR: "-"; /** * Currency decimal places */ readonly CURRENCY_DECIMALS: 2; /** * Currency symbol placement (before/after) */ readonly CURRENCY_SYMBOL_BEFORE: true; /** * Thousands separator */ readonly THOUSANDS_SEPARATOR: ","; /** * Decimal separator */ readonly DECIMAL_SEPARATOR: "."; /** * Maximum locale string length */ readonly MAX_LOCALE_LENGTH: 35; /** * Minimum locale string length */ readonly MIN_LOCALE_LENGTH: 2; /** * Percentage decimal places */ readonly PERCENTAGE_DECIMALS: 2; /** * Default number of fraction digits */ readonly DEFAULT_FRACTION_DIGITS: 2; /** * Maximum fraction digits */ readonly MAX_FRACTION_DIGITS: 20; }; /** * Date and time formatting patterns */ export declare const DATE_FORMATS: { /** * ISO 8601 date format */ readonly ISO_DATE: "YYYY-MM-DD"; /** * ISO 8601 datetime format */ readonly ISO_DATETIME: "YYYY-MM-DDTHH:mm:ss.sssZ"; /** * ISO 8601 time format */ readonly ISO_TIME: "HH:mm:ss"; /** * US date format */ readonly US_DATE: "MM/DD/YYYY"; /** * European date format */ readonly EU_DATE: "DD/MM/YYYY"; /** * UK date format */ readonly UK_DATE: "DD/MM/YYYY"; /** * Japanese date format */ readonly JP_DATE: "YYYY/MM/DD"; /** * Short date format */ readonly SHORT_DATE: "MMM DD"; /** * Long date format */ readonly LONG_DATE: "MMMM DD, YYYY"; /** * Full date format */ readonly FULL_DATE: "dddd, MMMM DD, YYYY"; /** * Time format 12-hour */ readonly TIME_12H: "hh:mm A"; /** * Time format 24-hour */ readonly TIME_24H: "HH:mm"; /** * Time with seconds 12-hour */ readonly TIME_12H_SECONDS: "hh:mm:ss A"; /** * Time with seconds 24-hour */ readonly TIME_24H_SECONDS: "HH:mm:ss"; /** * Relative time threshold in seconds */ readonly RELATIVE_TIME_THRESHOLD: 86400; /** * Month/Year format */ readonly MONTH_YEAR: "MMMM YYYY"; /** * Short month/Year format */ readonly SHORT_MONTH_YEAR: "MMM YYYY"; /** * Year only format */ readonly YEAR_ONLY: "YYYY"; }; /** * Text direction constants */ export declare const TEXT_DIRECTION: { /** * Left-to-right */ readonly LTR: "ltr"; /** * Right-to-left */ readonly RTL: "rtl"; /** * Auto-detect */ readonly AUTO: "auto"; }; /** * Type exports */ export type LocaleFormat = (typeof LOCALE_FORMATS)[keyof typeof LOCALE_FORMATS]; export type DateFormat = (typeof DATE_FORMATS)[keyof typeof DATE_FORMATS]; export type TextDirectionValue = (typeof TEXT_DIRECTION)[keyof typeof TEXT_DIRECTION]; //# sourceMappingURL=formats.d.ts.map