import { NgbDateStruct } from './ngb-date-struct'; export declare function NGB_DATEPICKER_18N_FACTORY(locale: any): NgbDatepickerI18nDefault; /** * A service supplying i18n data to the datepicker component. * * The default implementation of this service uses the Angular locale and registered locale data for * weekdays and month names (as explained in the Angular i18n guide). * * It also provides a way to i18n data that depends on calendar calculations, like aria labels, day, week and year * numerals. For other static labels the datepicker uses the default Angular i18n. * * See the [i18n demo](#/components/datepicker/examples#i18n) and * [Hebrew calendar demo](#/components/datepicker/calendars#hebrew) on how to extend this class and define * a custom provider for i18n. */ export declare abstract class NgbDatepickerI18n { /** * Returns the short weekday name to display in the heading of the month view. * * With default calendar we use ISO 8601: 'weekday' is 1=Mon ... 7=Sun. */ abstract getWeekdayShortName(weekday: number): string; /** * Returns the short month name to display in the date picker navigation. * * With default calendar we use ISO 8601: 'month' is 1=Jan ... 12=Dec. */ abstract getMonthShortName(month: number, year?: number): string; /** * Returns the full month name to display in the date picker navigation. * * With default calendar we use ISO 8601: 'month' is 1=Jan ... 12=Dec. */ abstract getMonthFullName(month: number, year?: number): string; /** * Returns the value of the `aria-label` attribute for a specific date. * * @since 2.0.0 */ abstract getDayAriaLabel(date: NgbDateStruct): string; /** * Returns the textual representation of a day that is rendered in a day cell. * * @since 3.0.0 */ getDayNumerals(date: NgbDateStruct): string; /** * Returns the textual representation of a week number rendered by datepicker. * * @since 3.0.0 */ getWeekNumerals(weekNumber: number): string; /** * Returns the textual representation of a year that is rendered in the datepicker year select box. * * @since 3.0.0 */ getYearNumerals(year: number): string; } export declare class NgbDatepickerI18nDefault extends NgbDatepickerI18n { private _locale; private _weekdaysShort; private _monthsShort; private _monthsFull; constructor(_locale: string); getWeekdayShortName(weekday: number): string; getMonthShortName(month: number): string; getMonthFullName(month: number): string; getDayAriaLabel(date: NgbDateStruct): string; }