/** * Returns the `Date` before the given `date` by the `Duration`. * @param duration The `Duration` to get the `Date` before the given `date` by. * @param date The `Date` to get the `Date` before by the `Duration`. * * @example * ```typescript * const date = new Date(); * console.log(date); // 2023-09-01T00:00:00.000Z * before(years(2), date); // => 2021-09-01T00:00:00.000Z * before(years(2) + months(3), date); // => 2021-06-01T00:00:00.000Z * ``` */ declare const before: (duration: bigint, date: number | Date) => Date; export default before; //# sourceMappingURL=before.d.ts.map