/**
* DevExtreme (common/core/localization/date.d.ts)
* Version: 25.2.7
* Build date: Tue May 05 2026
*
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import { DateLike } from '../../../common';
import { Format as LocalizationFormat } from '../localization';

type Format = 'abbreviated' | 'short' | 'narrow';

interface DateLocalization {
  firstDayOfWeekIndex(): number;
  format(date?: DateLike, format?: LocalizationFormat): string | Date | undefined;
  formatUsesDayName(format: string): boolean;
  formatUsesMonthName(format: string): boolean;
  getDayNames(format?: Format): string[];
  getMonthNames(format?: Format): string[];
  parse(text: string, format?: Format | string): Date | null | undefined;
}
/**
 * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
 */
declare const dateLocalization: DateLocalization;
export default dateLocalization;
