/// import DocumentStore, { ObjectTypeDescriptor } from 'ravendb'; import { BaseEntity } from '../../app-data-objects'; import { PaginatedResults, PaginationContext } from '.'; export declare class DocumentInterface { protected readonly documentStore: DocumentStore; protected readonly descriptor: { class: ObjectTypeDescriptor; collection: string; }; protected disableIdCollectionCheck: boolean; private getBase64Part; private generateId; private idBelongsToCollection; private checkAndReturnIds; protected metadataRemove(obj: any): TEntity; constructor(documentStore: DocumentStore, descriptor: { class: ObjectTypeDescriptor; collection: string; }); protected get defaultPaginationContext(): PaginationContext; protected get maxPageSize(): number; storeDocument(entity: TEntity): Promise; retrieveDocuments(): Promise; documentExists(id: string): Promise; getById(id: string): Promise; deleteById(id: string | string[]): Promise; patchById(id: string | string[], partialEntity: Partial): Promise; refresh(id: string | string[]): Promise; addAttachment(documentId: string, attachmentName: string, data: Buffer): Promise; getAttachment(documentId: string, attachmentName: string): Promise; retrieveDocumentsPaginated(pagination?: PaginationContext): Promise>; }