import { ICloneable } from '../general'; export declare enum DateType { BUDDHIST = "BUDDHIST", DISCORDIAN = "DISCORDIAN", GREGORIAN = "GREGORIAN", HEBREW = "HEBREW", ISLAMIC = "ISLAMIC", JULIAN = "JULIAN", LUNAR = "LUNAR", MESO_AMERICAN = "MESO_AMERICAN", PERSIAN = "PERSIAN", OTHER = "OTHER" } export interface DatePayload { year?: string; month?: string; day?: string; unstructured?: string; type?: DateType; } export declare class Date implements DatePayload, ICloneable { year?: string; month?: string; day?: string; unstructured?: string; type?: DateType; constructor(data?: DatePayload); clone(): Date; toJSON(): DatePayload; toDateString(): string; static fromJSON(payload: DatePayload): Date; static fromDateString: (dateString: string, previousDate?: Date) => Date; static isValid: (dateString: string) => boolean; } export interface DateOfBirthPayload extends DatePayload { dateOfBirthId?: string; sourceId?: string; } export declare class DateOfBirth implements DateOfBirthPayload, ICloneable { year?: string; month?: string; day?: string; unstructured?: string; type?: DateType; dateOfBirthId?: string; sourceId?: string; constructor(data?: DateOfBirthPayload); clone(): DateOfBirth; toJSON(): DateOfBirthPayload; toDateString(): string; static fromJSON(payload: DateOfBirthPayload): DateOfBirth; static default(): DateOfBirth; static fromDateString: (dateString: string, previousDob?: DateOfBirth) => DateOfBirth; } //# sourceMappingURL=Date.d.ts.map