import mongodb from 'mongodb'; import { IBucketRepository, BucketDTO } from '../interfaces.js'; export declare class MongoBucketRepository implements IBucketRepository { private mongoClient; constructor(mongoClient: mongodb.MongoClient); private get clBucket(); findByName(name: string): Promise; findById(id: string): Promise; findByCreatorOrCoworker(userId: string): Promise; create(info: Partial): Promise; update(name: string, info: Partial): Promise; delete(name: string, creatorId: string): Promise; addCoworker(name: string, coworker: { id: string; nickname: string; accept_time?: string; }): Promise; updateCoworker(name: string, userId: string, data: { nickname?: string; change_time?: string; }): Promise; removeCoworker(name: string, userId: string): Promise; }