import type { FunnelSdkRuntimeConfigOverrides } from '../shared/types.js'; export type FunnelSdkSubscriptionRef = { provider: 'stripe' | 'solidgate'; paymentProfileId: string; providerSubscriptionId: string; environment: 'test' | 'live'; }; export type FunnelSdkUpdateSubscriptionInput = { subscriptionId: string; subscriptionRef?: FunnelSdkSubscriptionRef | null; action: 'cancel' | 'renew' | 'apply-discount'; couponId?: string | null; cancellationMode?: 'period_end' | 'immediate'; funnelId?: string | null; runtimeConfig?: FunnelSdkRuntimeConfigOverrides; stripeCustomerId?: string | null; userId?: string | null; }; export type FunnelSdkListSubscriptionsInput = { funnelId?: string | null; runtimeConfig?: FunnelSdkRuntimeConfigOverrides; stripeCustomerId?: string | null; userId?: string | null; };