import { RoundingMathOptions, RoundingMode } from './utils.js'; export declare function roundToYear(date: T): T; export declare function roundToYear(date: T, roundingMode: RoundingMode): T; export declare function roundToYear(date: T, options: RoundingMathOptions): T; export declare function roundToMonth(date: T): T; export declare function roundToMonth(date: T, roundingMode: RoundingMode): T; export declare function roundToMonth(date: T, options: RoundingMathOptions): T; export declare function roundToWeek(date: T): T; export declare function roundToWeek(date: T, roundingMode: RoundingMode): T; export declare function roundToWeek(date: T, options: RoundingMathOptions): T; type NativeRoundFunc = { (date: T): T; (date: T, roundingMode: RoundingMode): T; (date: T, options: RoundingMathOptions): T; }; type DayRoundable = Temporal.PlainDateTime | Temporal.ZonedDateTime; type TimeRoundable = Temporal.Instant | Temporal.PlainTime | Temporal.PlainDateTime | Temporal.ZonedDateTime; export declare const roundToDay: NativeRoundFunc; export declare const roundToHour: NativeRoundFunc; export declare const roundToMinute: NativeRoundFunc; export declare const roundToSecond: NativeRoundFunc; export declare const roundToMillisecond: NativeRoundFunc; export declare const roundToMicrosecond: NativeRoundFunc; export {};