import type { GraphClientConfig } from "../lib/graph-client.js"; import type { EventTime } from "./calendar-create.js"; export interface FreebusyArgs { schedules: string[]; start: EventTime; end: EventTime; intervalMinutes?: number; } export interface FreebusyBusyBlock { start: string; end: string; status: string; } export interface FreebusyEntry { address: string; availabilityView: string; busy: FreebusyBusyBlock[]; error: string | null; } export interface FreebusyResult { requested: number; resolved: number; availability: FreebusyEntry[]; } /** * Query free/busy for one or more addresses (POST /me/calendar/getSchedule). * Graph returns one entry per requested address; an address it cannot resolve * (bad address, no permission) comes back with an `error` and an empty * availabilityView rather than being omitted. `resolved` counts only the * error-free entries, so `resolved < requested` is the partial-result signal * and each failed address carries its Graph error rather than reading as free. */ export declare function runCalendarFreebusy(config: GraphClientConfig, args: FreebusyArgs): Promise; //# sourceMappingURL=calendar-freebusy.d.ts.map