import { StripeService } from "../../stripe/services/stripe.service"; import { type StripeCouponDuration } from "../entities/stripe-promotion-code.entity"; export interface PromotionCodeValidationAttributes { valid: boolean; promotionCodeId?: string; code: string; discountType?: "percent_off" | "amount_off"; discountValue?: number; currency?: string; duration?: StripeCouponDuration; durationInMonths?: number; errorMessage?: string; } export interface PromotionCodeValidationResult { data: { type: string; id: string; attributes: PromotionCodeValidationAttributes; }; } export declare class StripePromotionCodeApiService { private readonly stripeService; constructor(stripeService: StripeService); private createResponse; validatePromotionCode(params: { code: string; stripeCustomerId?: string; stripePriceId?: string; }): Promise; } //# sourceMappingURL=stripe-promotion-code-api.service.d.ts.map