import mongodb from 'mongodb'; import { ICollectionRepository } from '../interfaces.js'; export declare class MongoCollectionRepository implements ICollectionRepository { private mongoClient; constructor(mongoClient: mongodb.MongoClient); private get clMongoObj(); findById(tmwDb: { sysname: string; } | string, id: string, bucket?: string): Promise; findByName(tmwDb: { sysname: string; } | string, name: string, bucket?: string): Promise; findBySysname(db: { sysname: string; }, sysname: string, bucket?: string): Promise; create(collection: any): Promise; update(id: string, info: any): Promise<[boolean, any]>; delete(id: string): Promise; list(dbSysname: string, dirFullName?: string, keyword?: string, skip?: number, limit?: number, bucket?: string): Promise<{ collections: any[]; total: number; } | any[]>; processCl(collections: any[], mongoClient: any, bucket?: any): Promise; }