/** * Returns the total number of years of the `Duration`. * @param duration The `Duration` to get the total number of years of. * * @example * ```typescript * asYears(years(2)); // => 2 * asYears(years(2) + months(3)); // => 2.25 * ``` */ declare const asYears: (duration: bigint) => number; export default asYears; //# sourceMappingURL=asYears.d.ts.map