import DBConnection from "./db/DBConnection.js"; import { Logger } from "./Logger.js"; export default abstract class CommonService { protected readonly logger: Logger; protected constructor(); /** * Retrieves the database connection for the current transaction context. */ protected getDBConnection(): Promise; /** * Obtains a lazy proxy for the specified Repository instance. * @param name - Registered Repository bean name. */ protected getRepositoryInstance(name: string): T; private _applyTransactionAspect; }