import dayjs, { ManipulateType, OptionType, OpUnitType, UnitType } from 'dayjs'; import { Duration } from '@wisemen/quantity'; import { PlainDate } from '../plain-date/plain-date.js'; import { PlainTime } from '../plain-time/plain-time.js'; import { Month } from '../common/month.js'; import { TimezoneInput } from '../common/timezone.js'; import { ILocale, Timestamp, TimestampInput } from './timestamp.js'; import { IsoWeekday } from '#src/common/iso-weekday.js'; export declare class DayjsTimestamp implements Timestamp { private value; constructor(date?: dayjs.ConfigType | Timestamp | PlainDate, formatOrTime?: OptionType | PlainTime, localeOrTimezone?: TimezoneInput); clone(): DayjsTimestamp; isPastInfinity(): boolean; isFutureInfinity(): boolean; isInfinity(): boolean; isValid(): boolean; year(): number; year(value: number): DayjsTimestamp; month(): Month; month(value: Month): DayjsTimestamp; date(): number; date(value: number): DayjsTimestamp; day(): number; day(value: number): DayjsTimestamp; hour(): number; hour(value: number): DayjsTimestamp; minute(): number; minute(value: number): DayjsTimestamp; second(): number; second(value: number): DayjsTimestamp; millisecond(): number; millisecond(value: number): DayjsTimestamp; set(unit: UnitType, value: number): DayjsTimestamp; get(unit: UnitType): number; getTime(): number; add(value: number, unit?: ManipulateType): DayjsTimestamp; addDuration(duration: Duration): Timestamp; subtract(value: number, unit?: ManipulateType): DayjsTimestamp; subtractDuration(duration: Duration): Timestamp; startOf(unit: OpUnitType): DayjsTimestamp; endOf(unit: OpUnitType): DayjsTimestamp; format(template?: string): string; diff(withOther: TimestampInput, unit: OpUnitType, precise?: boolean): number; compare(withOther: TimestampInput): number; valueOf(): number; unix(): number; daysInMonth(): number; toDate(): Date; toJSON(): string; toISOString(): string; toString(): string; toPlainDate(): PlainDate; toPlainTime(): PlainTime; utcOffset(): number; isoWeekday(): IsoWeekday; isoWeekday(day: IsoWeekday): DayjsTimestamp; nextIsoWeekday(day: IsoWeekday): DayjsTimestamp; nextOrSameIsoWeekday(day: IsoWeekday): DayjsTimestamp; previousIsoWeekday(day: IsoWeekday): DayjsTimestamp; previousOrSameIsoWeekday(day: IsoWeekday): DayjsTimestamp; isBefore(other: TimestampInput, unit?: OpUnitType): boolean; isAfter(other: TimestampInput, unit?: OpUnitType): boolean; isSame(other: TimestampInput, unit?: OpUnitType): boolean; isSameOrAfter(other: TimestampInput, unit?: OpUnitType): boolean; isSameOrBefore(other: TimestampInput, unit?: OpUnitType): boolean; locale(): string; locale(preset: string | ILocale, object?: Partial): DayjsTimestamp; until(otherTimestamp: TimestampInput): Duration; since(otherTimestamp: TimestampInput): Duration; setTimezone(timezone: TimezoneInput): DayjsTimestamp; }