/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { InjectionToken } from '@angular/core'; import { WeekDayIndex } from 'ng-met-antd/core'; export interface NzDateDisplayFormats { dateInput?: string; dateTimeInput?: string; dayLabel?: string; weekLabel?: string; monthLabel?: string; yearLabel?: string; weekYearLabel?: string; monthYearLabel?: string; shortWeekLabel?: string; veryShortWeekLabel?: string; } export interface NzDateConfig { /** Customize the first day of a week */ firstDayOfWeek?: WeekDayIndex; /** Customize display formats */ displayFormats?: NzDateDisplayFormats; } export declare const NZ_DATE_CONFIG: InjectionToken; export declare const NZ_DATE_CONFIG_DEFAULT: NzDateConfig; export declare function mergeDateConfig(config: NzDateConfig): NzDateConfig; export declare const NZ_DATE_FORMATS: InjectionToken;