/** * Returns the year of the given date. * * @example * getYear("2024-01-25") // 2024 * * @param date The date to extract the year from. * @returns The year (e.g., 2024). */ export declare function getYear(date?: Date | string | number | null): number;