import { EntitySubscriberInterface, InsertEvent } from "typeorm"; import { Employee } from "./employee.entity"; export declare class EmployeeSubscriber implements EntitySubscriberInterface { /** * Indicates that this subscriber only listen to Employee events. */ listenTo(): typeof Employee; /** * Called after entity is loaded. */ afterLoad(entity: Employee): void; /** * Called before employee insertion. */ beforeInsert(event: InsertEvent): void; }