import { CaldavConfig } from "@calchat/shared";

export interface CaldavRepository {
  findByUserId(userId: string): Promise<CaldavConfig | null>;
  createOrUpdate(config: CaldavConfig): Promise<CaldavConfig>;
  deleteByUserId(userId: string): Promise<boolean>;
}
