import type { GCalAccessor } from '../../accessor/gcal.ts'; import type { IndexCacheStore } from '../../cache/index/store.ts'; import type { JsonValue, PathSpec } from '../../types.ts'; export declare const CALENDAR_JSON = "gcal/calendar_json"; export declare const EVENT = "gcal/event"; export type CalendarEntryRow = Record; /** Render the per-calendar metadata file. */ export declare function calendarPayload(entry: CalendarEntryRow, tz: string): Uint8Array; /** Split a path into `[mount prefix, mount-relative key, virtual key]`. */ export declare function normalize(path: PathSpec): [string, string, string]; /** Map each calendar's directory name to its calendarList entry. */ export declare function calendarIndex(accessor: GCalAccessor): Promise>; /** * The one zone every day directory on this mount is bucketed in. * * Defaults to the primary calendar's zone, matching how the Calendar UI * draws its grid: bucketing each calendar in its own zone would make the * same directory name mean different 24-hour windows on different * calendars, so a cross-calendar free/busy comparison would be wrong. */ export declare function bucketZone(accessor: GCalAccessor, calendars: Map): string; /** List one level of the calendar tree. */ export declare function readdir(accessor: GCalAccessor, path: PathSpec, index?: IndexCacheStore): Promise; //# sourceMappingURL=readdir.d.ts.map