import { TranslationWidth } from '@angular/common'; import { NbDateService } from '@nebular/theme'; import { Moment, LongDateFormatKey } from 'moment'; import * as i0 from '@angular/core'; declare class NbMomentDateService extends NbDateService { protected localeData: { firstDayOfWeek: number; defaultFormat: string; months: { [key: string]: string[]; }; days: { [key: string]: string[]; }; }; protected readonly TIME_ONLY_FORMAT_KEY: LongDateFormatKey; constructor(locale: string); setLocale(locale: string): void; setHours(date: Moment, hour: number): Moment; setMinutes(date: Moment, minute: number): Moment; setSeconds(date: Moment, second: number): Moment; setMilliseconds(date: Moment, milliseconds: number): Moment; addDay(date: Moment, days: number): Moment; addMonth(date: Moment, months: number): Moment; addYear(date: Moment, years: number): Moment; addMinutes(date: Moment, minute: number): Moment; addHours(date: Moment, hour: number): Moment; clone(date: Moment): Moment; valueOf(date: Moment): number; compareDates(date1: Moment, date2: Moment): number; createDate(year: number, month: number, date: number): Moment; format(date: Moment, format: string): string; getLocaleTimeFormat(): string; getDate(date: Moment): number; getDayOfWeek(date: Moment): number; getDayOfWeekNames(style?: TranslationWidth): string[]; getFirstDayOfWeek(): number; getMonth(date: Moment): number; getHours(date: Moment): number; getMinutes(date: Moment): number; getSeconds(date: Moment): number; getMilliseconds(date: Moment): number; getMonthEnd(date: Moment): Moment; getMonthName(date: Moment, style?: TranslationWidth): string; getMonthNameByIndex(month: number, style?: TranslationWidth): string; getMonthStart(date: Moment): Moment; getNumberOfDaysInMonth(date: Moment): number; getYear(date: Moment): number; getYearEnd(date: Moment): Moment; getYearStart(date: Moment): Moment; isSameDay(date1: Moment, date2: Moment): boolean; isSameMonth(date1: Moment, date2: Moment): boolean; isSameYear(date1: Moment, date2: Moment): boolean; isValidDateString(date: string, format: string): boolean; isValidTimeString(date: string, format: string): boolean; parse(date: string, format: string): Moment; today(): Moment; getId(): string; protected setMomentLocaleData(locale: string): void; getWeekNumber(date: Moment): number; getDateFormat(): string; getTwelveHoursFormat(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class NbMomentDateModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NbMomentDateModule, NbMomentDateService };