import { EntitySubscriberInterface, InsertEvent } from 'typeorm';
import PromoCodeEntity from "../entities/promo-code.js";
/**
 * Promo code subscriber
 */
declare class PromoCode implements EntitySubscriberInterface<PromoCodeEntity> {
    /**
     * This subscriber only for promo code entity
     */
    /**
     * This subscriber only for promo code entity
     */
    listenTo(): typeof PromoCodeEntity;
    /**
     * Create stripe promo code and attach stripe id to entity
     */
    /**
     * Create stripe promo code and attach stripe id to entity
     */
    beforeInsert({ entity, manager }: InsertEvent<PromoCodeEntity>): Promise<void>;
}
export { PromoCode as default };
