import { Prisma } from '../../../prisma-client';
export declare function getStripeCustomerIdFromUserId(userId: number): Promise<string>;
declare const userType: {
    select: {
        email: true;
        metadata: true;
    };
};
type UserType = Prisma.UserGetPayload<typeof userType>;
/** This will retrieve the customer ID from Stripe or create it if it doesn't exists yet. */
export declare function getStripeCustomerId(user: UserType): Promise<string>;
export declare function deleteStripeCustomer(user: UserType): Promise<string | null>;
export declare function retrieveOrCreateStripeCustomerByEmail(stripeAccountId: string, email: string, phoneNumber?: string | null): Promise<import("stripe").Stripe.Customer>;
export {};
//# sourceMappingURL=customer.d.ts.map