import { Plan } from "../types/plan.types.js";
import { Organization } from "../types/organization.types.js";

//#region src/services/subscription.service.d.ts
declare const addOrUpdateSubscription: (subscriptionId: string, priceId: string, customerId: string, userId: string, organization: Organization, status: Plan["status"]) => Promise<Plan | null>;
declare const cancelSubscription: (subscriptionId: string | Organization["id"], organizationId: Organization["id"] | string) => Promise<Plan | null>;
declare const changeSubscriptionStatus: (subscriptionId: string, status: Plan["status"], userId: string, organizationId: string) => Promise<Plan | null>;
declare const getCouponId: (promoCode: string) => Promise<string | null>;
type PricingResult = Record<string, {
  originalTotal: number;
  discountApplied: number;
  discountType: 'amount' | 'percentage' | null;
  finalTotal: number;
  currency: string;
}>;
declare const getPricing: (priceIds: string[], promoCode?: string) => Promise<PricingResult>;
//#endregion
export { PricingResult, addOrUpdateSubscription, cancelSubscription, changeSubscriptionStatus, getCouponId, getPricing };
//# sourceMappingURL=subscription.service.d.ts.map