1 | import { type DateLib } from "../classes/DateLib.js";
|
2 | import type { DateRange } from "../types/index.js";
|
3 | /**
|
4 | * Add a day to an existing range.
|
5 | *
|
6 | * The returned range takes in account the `undefined` values and if the added
|
7 | * day is already present in the range.
|
8 | *
|
9 | * @group Utilities
|
10 | */
|
11 | export declare function addToRange(
|
12 | /** The date to add to the range. */
|
13 | date: Date,
|
14 | /** The range where to add `date`. */
|
15 | initialRange: DateRange | undefined, min?: number, max?: number, required?: boolean,
|
16 | /** @ignore */
|
17 | dateLib?: DateLib): DateRange | undefined;
|