import Stripe from 'stripe';
export declare class StripePaymentIntent {
    private stripe;
    constructor(stripe: Stripe);
    create({ amount, currency, customerId, metadata, }: {
        amount: number;
        currency?: string;
        customerId?: string;
        metadata?: Record<string, string>;
    }): Promise<Stripe.Response<Stripe.PaymentIntent>>;
    confirm(paymentIntentId: string, paymentMethodId?: string): Promise<Stripe.Response<Stripe.PaymentIntent>>;
    retrieve(paymentIntentId: string): Promise<Stripe.Response<Stripe.PaymentIntent>>;
    update(paymentIntentId: string, data: any): Promise<Stripe.Response<Stripe.PaymentIntent>>;
    cancel(paymentIntentId: string): Promise<Stripe.Response<Stripe.PaymentIntent>>;
}
