import { BaseEntity, EntitySubscriberInterface, InsertEvent, RemoveEvent, UpdateEvent } from 'typeorm'; import { LoadEvent } from 'typeorm/subscriber/event/LoadEvent'; export declare class EntitySubscriber implements EntitySubscriberInterface { constructor(); beforeInsert(event: InsertEvent): Promise | void; beforeRemove(event: RemoveEvent): Promise | void; beforeUpdate(event: UpdateEvent): Promise | void; afterInsert(event: InsertEvent): Promise | void; afterLoad(entity: BaseEntity, event?: LoadEvent): Promise | void; afterRemove(event: RemoveEvent): Promise | void; afterUpdate(event: UpdateEvent): Promise | void; }