export interface Subscription { id: string; status: string; createdAt: string; currency: string; cancelAtPeriodEnd: boolean; currentPeriodEnd: string | null; currentPeriodStart: string | null; quantity: number; trialEnd: string | null; customerId: string; customerEmail: string; customerName: string; priceCurrencyOptions: Record; priceInterval: string; priceIntervalCount: number; priceRecurring: boolean; productId: string; priceId: string; productTitle: string; } export interface SubscriptionsResponse { items: Subscription[]; pagination: { page: number; pageSize: number; hasNext: boolean; nextPage: number | null; previousPage: number | null; totalItems: number; }; } export interface UseCustomerSubscriptionsOptions { customerId?: string | null; enabled?: boolean; } export interface UseCustomerSubscriptionsResult { data: SubscriptionsResponse | null; isLoading: boolean; error: Error | null; refetch: () => Promise; resumeSubscription: (subscriptionId: string) => Promise<{ success: boolean; error?: string; }>; cancelSubscription: (subscriptionId: string) => Promise<{ success: boolean; error?: string; }>; } export declare function useCustomerSubscriptions(options: UseCustomerSubscriptionsOptions): UseCustomerSubscriptionsResult;