/** * An opening_hours rule, such as "Mo,Tu 08:00-18:00" */ declare class OhRule { private _date; private _time; constructor(); /** * @return The date selectors, as an array */ getDate(): any; /** * @return The time selectors, as an array */ getTime(): any; /** * @return The opening_hours value */ get(): string; /** * @return True if the given rule has the same time as this one */ sameTime(o: any): boolean; /** * Is this rule concerning off time ? */ isOff(): boolean; /** * Does the rule have any overwritten weekday ? */ hasOverwrittenWeekday(): boolean; /** * Adds a weekday to all the dates */ addWeekday(wd: any): void; /** * Adds public holidays as weekday to all dates */ addPhWeekday(): void; /** * Adds an overwritten weekday to all the dates */ addOverwrittenWeekday(wd: any): void; /** * @param d A new date selector */ addDate(d?: any): void; /** * @param t A new time selector */ addTime(t: any): void; } export default OhRule;