/** * A wide interval is an interval of one or more days, weeks, months, holidays. * Use WideInterval.days/weeks/months/holidays methods to construct one object. */ declare class WideInterval { private _start; private _end?; private _type; constructor(); /** * @return a day-based interval */ day(startDay: number, startMonth: number, endDay?: number, endMonth?: number): this; /** * @return a week-based interval */ week(startWeek: any, endWeek?: any): this; /** * @return a month-based interval */ month(startMonth: any, endMonth?: any, unused1?: any, unused2?: any): this; /** * @return a holiday-based interval */ holiday(holiday: any): this; /** * @return a holiday-based interval */ always(): this; /** * @return The kind of wide interval (always, day, month, week, holiday) */ getType(): "day" | "month" | "week" | "always" | "holiday"; /** * @return The start moment */ getStart(): { month?: number; week?: number; day?: number; holiday?: string; }; /** * @return The end moment */ getEnd(): { month?: number; week?: number; day?: number; }; /** * @return True if the given object concerns the same interval as this one */ equals(o: any): boolean; /** * @return The human readable time */ getTimeForHumans(): any; /** * @return The time selector for OSM opening_hours */ getTimeSelector(): any; /** * Does this interval corresponds to a full month ? */ isFullMonth(): boolean; /** * Does this interval starts the first day of a month */ startsMonth(): boolean; /** * Does this interval ends the last day of a month */ endsMonth(): boolean; /** * Does this interval strictly contains the given one (ie the second is a refinement of the first, and not strictly equal) * @param o The other wide interval * @return True if this date contains the given one (and is not strictly equal to) */ contains(o: any): boolean; } export default WideInterval;