import { BulkUpdateResponseList, IBulkToolProvider } from './BulkTool'; import { ICouchProvider, IDocumentModificationResult, CouchDocument, ICouchFactory, IFindResults, IDocumentViewParams, ViewResultResponse, IMangoQuery, ICouchDocument } from './Interfaces/CouchTypes'; import { IAggregateView } from './View/AggregateView'; import { AggregateViewEngine } from './View/ViewEngine'; export declare class CouchFactory implements ICouchFactory { create(databaseName: string): Promise; } export declare class CouchProvider implements ICouchProvider { db: any; private bulkTool; constructor(db: any); get(id: string): Promise; insert(data: any, id?: string): Promise; update(data: any, id: string, rev: string): Promise; bulkUpdate(docs: ICouchDocument[]): Promise; delete(id: string, rev: string): Promise; find(query: IMangoQuery): Promise; view(designDocument: string, view: string, options?: IDocumentViewParams): Promise; getBulkTool(): IBulkToolProvider; viewEngine(designDocument: string, aggregateViews: IAggregateView[]): AggregateViewEngine; }