import { EntitySubscriberInterface, LoadEvent, RemoveEvent } from "typeorm"; import { StorageFile } from "./storage-file.entity"; export declare class StorageFileSubscriber implements EntitySubscriberInterface { /** * Indicates that this subscriber only listen to StorageFile events. */ listenTo(): typeof StorageFile; /** * Called after entity is loaded from the database. * * @param entity * @param event */ afterLoad(entity: StorageFile | Partial, event?: LoadEvent): void | Promise; /** * Called after entity is removed from the database. * * @param event */ afterRemove(event: RemoveEvent): Promise; }