import type { Faker } from '.'; export declare class _Date { private readonly faker; constructor(faker: Faker); /** * past * * @method faker.date.past * @param years * @param refDate */ past(years?: number, refDate?: string | Date): Date; /** * future * * @method faker.date.future * @param years * @param refDate */ future(years?: number, refDate?: string | Date): Date; /** * between * * @method faker.date.between * @param from * @param to */ between(from: string | Date, to: string | Date): Date; /** * betweens * * @method faker.date.between * @param from * @param to * @param num */ betweens(from: string | Date, to: string | Date, num?: number): Date[]; /** * recent * * @method faker.date.recent * @param days * @param refDate */ recent(days?: number, refDate?: string | Date): Date; /** * soon * * @method faker.date.soon * @param days * @param refDate */ soon(days?: number, refDate?: string | Date): Date; /** * month * * @method faker.date.month * @param options */ month(options?: { abbr?: boolean; context?: boolean; }): string; /** * weekday * * @method faker.date.weekday * @param options */ weekday(options?: { abbr?: boolean; context?: boolean; }): string; private toDate; private toMilliseconds; }