import { ApiResponse, CheckoutResponse, CreateCheckoutData, CreatePaymentIntentData, CreateSubscriptionData, Payment, PaymentIntentResponse, SubscriptionResponse } from '../types/subscription.types';
interface UsePaymentReturn {
    payments: Payment[];
    loading: boolean;
    error: string | null;
    fetchPayments: () => Promise<void>;
    createSubscription: (data: CreateSubscriptionData) => Promise<ApiResponse<SubscriptionResponse>>;
    createPaymentIntent: (data: CreatePaymentIntentData) => Promise<ApiResponse<PaymentIntentResponse>>;
    createCheckout: (data: CreateCheckoutData) => Promise<ApiResponse<CheckoutResponse>>;
}
declare const usePayment: () => UsePaymentReturn;
export default usePayment;
