import type { JsonValue } from '../../types.ts'; import { type TokenManager } from '../google/client.ts'; /** * List the account's calendars. * * showHidden is left at its default (false) so the mount shows what the * Calendar UI shows; a subscribed holiday calendar the user hid stays out. */ export declare function listCalendars(tokenManager: TokenManager, minAccessRole?: string): Promise[]>; /** * List a calendar's events overlapping a time window. * * timeMin bounds an event's END and timeMax its START, both exclusive, so * the pair is an overlap query: a multi-day or midnight-crossing event is * returned by every day window it touches, with no extra request. * * singleEvents expands a recurring series into its instances, which is what * makes a day directory well defined; without it the series' own record * would stand in for every occurrence. */ export declare function listEvents(tokenManager: TokenManager, calendarId: string, timeMin: string, timeMax: string, timeZone?: string): Promise[]>; /** Delete one event. */ export declare function deleteEvent(tokenManager: TokenManager, calendarId: string, eventId: string): Promise; //# sourceMappingURL=client.d.ts.map