import { Calendar } from './calendar'; import { JulianDate } from "./julian-date"; import { GregorianDate } from "./gregorian-date"; export declare abstract class HistoricalDate { readonly calendar: Calendar; constructor(calendar: Calendar); abstract year: number | undefined; abstract month: number | undefined; abstract day: number | undefined; abstract readonly isLeapYear: boolean; abstract toGregorian(): GregorianDate; abstract toJulian(): JulianDate; /** * Returns a new date which is moved by the specified number of days. */ abstract addDays(days: number): HistoricalDate; toDate(): Date; /** * Checks whether this is the same date as another date. */ equals(other: HistoricalDate): boolean; }