import { StateCode } from '../_internals/constants/states'; export type Holiday = { name: string; date: Date; }; export type GetHolidaysOptions = { year: number; stateCode?: StateCode; }; /** * Retrieves all Brazilian holidays for a given year. * * The function returns both fixed holidays (that occur on the same date every year) * and movable holidays (that are calculated based on Easter Sunday). * If a state code is provided, state-specific holidays are also included. * * Holidays are returned sorted by date (chronological order). * * @param {number} year - The year for which to retrieve holidays (must be between 1900 and 2099) * @returns {Holiday[]} An array of holidays sorted by date * * @example * ```typescript * // Get all national holidays * const holidays = getHolidays(2024); * * // Get holidays for a specific state * const spHolidays = getHolidays({ year: 2024, stateCode: 'SP' }); * ``` */ export declare function getHolidays(year: number): Holiday[]; export declare function getHolidays(options: GetHolidaysOptions): Holiday[];