import type { DavFileOps } from './webdav-client.ts'; export interface IcsFile { name: string; content: string; } export interface SyncResult { deleted: string[]; written: string[]; failed: { name: string; op: 'write' | 'delete'; error: string; }[]; } export declare class CalDavCollection { private readonly ops; private readonly opts; constructor(ops: DavFileOps, opts?: { prodId?: string; }); readAll(): Promise; syncEvents(prefix: string, icsFiles: IcsFile[], opts?: { dryRun?: boolean; }): Promise; }