import { CalendarDate } from './calendar'; import { TimePeriod } from './interval'; import { YearMonthDay } from './math'; /** * Add years, days, hours, etc, to dates. This function always returns * the result in UTC. * * Compatible with the Temporal API (except for rounding; we only truncate) * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime/add */ export declare const add: (orig: CalendarDate, added: Partial) => [number, number]; /** * Add the date parts of a TimePeriod to a date. */ export declare const dateAdd: (date: YearMonthDay, added: Pick) => YearMonthDay; export declare const millisToTimePeriod: (millis: number) => TimePeriod;