import { OnApplicationBootstrap } from "@nestjs/common"; import { ConfigService } from "@nestjs/config"; import DocumentStore from "ravendb"; import { AppErrorDocumentInterface, AppRuntimeSettingsDocumentInterface, DocumentInterface, UserInfoDocumentInterface } from "../document-interfaces"; import { BaseEntity } from "../../app-data-objects"; import { ModuleRef } from "@nestjs/core"; export declare class PersistenceService implements OnApplicationBootstrap { private readonly config; private moduleRef; private derivedEntityDescriptors; private readonly connectionName; protected readonly documentStore: DocumentStore; private readonly descriptorsByCollection; private readonly documentInterfaces; private readonly logger; protected executeIndexes(): Promise; protected getDocumentInterface>(collectionName: string, initializer: (store: DocumentStore, descriptor: any) => DI): DI; onApplicationBootstrap(): void; constructor(config: ConfigService, moduleRef: ModuleRef, derivedEntityDescriptors: any[], connectionName?: string); getUserInfoDocumentInterface(): UserInfoDocumentInterface; getAppErrorDocumentInterface(): AppErrorDocumentInterface; getAppRuntimeSettingsDocumentInterface(): AppRuntimeSettingsDocumentInterface; }