import { Instant } from './Instant.js'; import { DayOfMonthNumber, LocalDate, MonthNumber } from './LocalDate.js'; import { HourNumber, LocalTime, MinuteNumber } from './LocalTime.js'; import { ZoneId, ZoneIdString } from './ZoneId.js'; import { ZonedDateTime } from './ZonedDateTime.js'; import { DayOfWeek } from './DayOfWeek.js'; import { ISOSerializationOptions } from './util/ISOSerializationOptions.js'; export declare class LocalDateTime { private readonly date; private readonly time; private constructor(); static of(year: number, month: MonthNumber | number, dayOfMonth: DayOfMonthNumber | number, hour?: HourNumber | number, minute?: MinuteNumber | number): LocalDateTime; static of(date: LocalDate, time?: LocalTime): LocalDateTime; static browser(): ZonedDateTime; at(timeZone: ZoneId | ZoneIdString | string): ZonedDateTime; /** * @deprecated Use {@link at} instead */ atZone(timeZone: ZoneId | ZoneIdString): ZonedDateTime; toInstant(timeZone: ZoneId | ZoneIdString | string): Instant; toLocalDate(): LocalDate; toLocalTime(): LocalTime; isBefore(other: LocalDateTime): boolean; isAfter(other: LocalDateTime): boolean; get dayOfWeek(): DayOfWeek; get year(): number; get month(): MonthNumber; get dayOfMonth(): DayOfMonthNumber; get hour(): HourNumber; get minute(): MinuteNumber; get second(): import("./LocalTime.js").SecondNumber; get millisecond(): number; /** * Writes this {@link ZonedDateTime} as a string in specified format, and returns it. * @param formatString The format in which to write the date. The following substrings * (expressed in bold) will get translated to the the following values: * */ format(formatString: string): string; /** * To ISO-8601 string, e.g. "2020-01-23T17:34:00.000" */ toString(options?: ISOSerializationOptions): string; private get isoWeekDayNumber(); private toMoment; private toZonedMoment; private get debugDescription(); }