import { Collection, Document as DocumentType } from '../types/database'; export declare class EdgeDocumentDB { private env; constructor(env: any); createDocument(collection: string, document: Record): Promise; findDocuments(collection: string, filter?: Record, options?: { limit?: number; skip?: number; sort?: Record; }): Promise; findDocumentById(collection: string, id: string): Promise; updateDocument(collection: string, id: string, update: Record): Promise; deleteDocument(collection: string, id: string): Promise; bulkInsert(collection: string, documents: Record[]): Promise<{ inserted: number; errors: any[]; }>; bulkUpdate(collection: string, updates: Array<{ id: string; update: Record; }>): Promise<{ updated: number; errors: any[]; }>; bulkDelete(collection: string, ids: string[]): Promise<{ deleted: number; errors: any[]; }>; aggregate(collection: string, pipeline: any[]): Promise; getCollection(collection: string): Promise; getStats(): Promise; private generateId; private applyUpdate; private updateCollectionStats; } export declare function createEdgeDocumentDB(env: any): EdgeDocumentDB; //# sourceMappingURL=edge-document-db.d.ts.map