import { EntitySubscriberInterface, RemoveEvent } from 'typeorm'; import CouponEntity from "../entities/coupon.js"; /** * Coupon subscriber */ declare class Coupon implements EntitySubscriberInterface { /** * This subscriber only for coupon entity */ /** * This subscriber only for coupon entity */ listenTo(): typeof CouponEntity; /** * Handle coupon remove */ /** * Handle coupon remove */ beforeRemove({ entity, manager }: RemoveEvent): Promise; } export { Coupon as default };