import { LocalDate } from "js-joda"; /** * Turns: * * 1 Runs from 31 March 2019 * 2 Runs between 6 April 2019 and 20 April 2019. Runs on 4 May 2019. * 3 Runs between 6 January 2019 and 2 February 2019, not running 20 January 2019, not running 21 January 2019 * 4 Runs until 30 March 2019. Runs between 25 May 2019 and 1 June 2019. * * Into: * * [ * [ * { start: "31 March 2019", end: endDate } * ], * [ * { start: "6 April 2019", end: "20 April 2019" }, * { start: "4 May 2019", end: "4 May 2019" } * ], * [ * { start: "6 January 2019", end: "2 February 2019", excluding: ["20 January 2019", "21 January 2019"] } * ], * [ * { start: startDate, end: "30 March 2019"}, * { start: "25 May 2019", end: "1 June 2019" } * ] * ] * */ export declare function getTimetableDates(startDate: LocalDate, endDate: LocalDate, calendar: string): TimetableDates; export declare type TimetableDates = TimetableDate[][]; export declare type TimetableDate = { start: LocalDate; end: LocalDate; excluding: LocalDate[]; };