/** * A utility class for formatting dates using format strings. * * Supported date format specifiers: * - `d` : Day of the month (1-31) without leading zero. * - `dd` : Day of the month (01-31) with leading zero. * - `ddd` : Abbreviated name of the day of the week (e.g., Mon, Tue). * - `dddd`: Full name of the day of the week (e.g., Monday, Tuesday). * - `M` : Month (1-12) without leading zero. * - `MM` : Month (01-12) with leading zero. * - `MMM` : Abbreviated name of the month (e.g., Jan, Feb). * - `MMMM`: Full name of the month (e.g., January, February). * - `y` : Year as the last two digits without leading zero (e.g., 9 for 2009). * - `yy` : Year as the last two digits with leading zero (e.g., 09 for 2009). * - `yyy` : Year with a minimum of three digits (e.g., 009, 2009). * - `yyyy`: Year as a four-digit number (e.g., 2009). * - `-` : Custom separator (e.g., hyphen). * - `/` : Date separator (e.g., slash). * - `.` : Custom separator (e.g., dot). * * @public */ export declare class DateFormatter { private static readonly _formatMapping; /** * Formats a date using a date-specific format string. * * @param date The date to format. * @param format The format string. * @param locale The locale for Intl formatting (default: 'en-US'). * @returns The formatted date string. */ static format(date: Date | string, format: string, locale?: string): string; } //# sourceMappingURL=DateFormatter.d.ts.map