import type { FunnelSdkSubscriptionRef } from '../../funnel-sdk/subscriptions/types.js'; export type ManageSubscriptionsResponse = { user: { id: string; user_id: string; email: string | null; fullName: string | null; subscriptionStatus: string | null; } | null; subscriptions: Array<{ id: string; status: string; providerSubscriptionId: string; providerPlanId: string | null; cancelAtPeriodEnd: boolean; currentPeriodStart: string | null; currentPeriodEnd: string | null; createdAt: string | null; amountCents?: number | null; currency?: string | null; billingInterval?: string | null; billingIntervalCount?: number | null; discountCouponIds?: string[]; retentionDiscount?: { couponId: string; discountPercent: number; amountCents: number; discountedAmountCents: number; originalAmountCents: number; }; environment: 'test' | 'live'; subscriptionRef?: FunnelSdkSubscriptionRef; }>; eventsCount: number; };