import { Model, SchemaDefinition } from 'mongoose'; import { BaseDocument, TypedDocument } from './base.type'; import { IDebuggerBundle } from '@gongt/ts-stl-library/debug/create-logger'; export declare type DataDocument = DocType & TypedDocument; export declare abstract class DataModelAbstractMethods { protected readonly abstract collectionName: string; protected readonly abstract connectionName: string; readonly log: Readonly; protected model: Model>; protected readonly abstract schema: SchemaDefinition; constructor(); /** @deprecated */ private wrapDbMethodWithExec(method, methodDisplayName?); protected wrapDebug(method: string): void; /** @deprecated */ protected wrapMethodAsFind(methodName: string): void; /** @deprecated */ protected wrapMethodAsGet(methodName: string, findMethodName: string): void; readonly modelName: string; readonly name: string; }