import { ClientProxy } from '@nestjs/microservices'; import { DataSource, EntitySubscriberInterface, InsertEvent } from 'typeorm'; import type { AfterQueryEvent } from 'typeorm/subscriber/event/QueryEvent'; import type { NormalizedAuditModuleOptions } from './audit-module-options'; export declare class AuditSubscriber implements EntitySubscriberInterface { private readonly dataSource; private readonly rmsRMQClient; private readonly moduleOptions; constructor(dataSource: DataSource, rmsRMQClient: ClientProxy, moduleOptions?: NormalizedAuditModuleOptions); afterInsert(event: InsertEvent): Promise | void; afterQuery(event: AfterQueryEvent): Promise | void; }