/** * Generates a random Date within a specified range. * * @param start - The start date (inclusive). * @param end - The end date (inclusive). * @returns A random Date between start and end. * * @throws {Error} If start or end is an invalid date or if start is after end. * * @example * // Random date in 2024 * const start = new Date('2024-01-01'); * const end = new Date('2024-12-31'); * randomDate(start, end); // Random date in 2024 * * @example * // Random date in the next 7 days * const now = new Date(); * const week = new Date(now.getTime() + 7 * 24 * 60 * 60 * 1000); * randomDate(now, week); * * @complexity Time: O(1), Space: O(1) */ export declare function randomDate(start: Date, end: Date): Date; //# sourceMappingURL=randomDate.d.ts.map