import "../Compatibility"; /** * An opening_hours date, such as "Apr 21", "week 1-15 Mo,Tu", "Apr-Dec Mo-Fr", "SH Su", ... */ declare class OhDate { private _wideType; private _wide; private _weekdays; private _wdOver; /** * Constructor * @param w The wide selector, as string * @param wt The wide selector type (month, week, day, holiday, always) * @param wd The weekdays, as integer array (0 to 6 = Monday to Sunday, -1 = single day date, -2 = PH) */ constructor(w: any, wt: any, wd: any); /** * @return The wide type */ getWideType(): any; /** * @return The monthday, month, week, SH (depends of type) */ getWideValue(): any; /** * @return The weekdays array */ getWd(): any; /** * @return The overwrittent weekdays array */ getWdOver(): any; /** * @param a The other weekdays array * @return True if same weekdays as other object */ sameWd(a: any): any; /** * @return The weekdays in opening_hours syntax */ getWeekdays(): string; /** * Is the given object of the same kind as this one * @return True if same weekdays and same wide type */ sameKindAs(d: any): any; /** * @return True if this object is equal to the given one */ equals(o: any): any; /** * Adds a new weekday in this date */ addWeekday(wd: any): void; /** * Adds public holiday as a weekday of this date */ addPhWeekday(): void; /** * Adds an overwritten weekday, which can be included in this date and that will be overwritten in a following rule */ addOverwrittenWeekday(wd: any): void; } export default OhDate;