scheduling-sdk
Version:
Brought to you by Recal - A TypeScript SDK for scheduling functionality
11 lines • 472 B
TypeScript
import type { BusyTime, SchedulingOptions, TimeSlot } from '../types/scheduling.types';
export declare class Scheduler {
private busyTimes;
constructor(busyTimes?: BusyTime[]);
findAvailableSlots(startTime: Date, endTime: Date, options: SchedulingOptions): TimeSlot[];
addBusyTime(busyTime: BusyTime): void;
addBusyTimes(busyTimes: BusyTime[]): void;
clearBusyTimes(): void;
getBusyTimes(): BusyTime[];
}
//# sourceMappingURL=scheduler.d.ts.map