import { CustomerInvoicesList, CustomerInvoicesListOptions } from "../../../lib/stack-app/customers/index.js"; import * as react_jsx_runtime0 from "react/jsx-runtime"; //#region src/components-page/account-settings/payments/payments-panel.d.ts type PaymentMethodSummary = { id: string; brand: string | null; last4: string | null; exp_month: number | null; exp_year: number | null; } | null; type CustomerBilling = { hasCustomer: boolean; defaultPaymentMethod: PaymentMethodSummary; }; type CustomerPaymentMethodSetupIntent = { clientSecret: string; stripeAccountId: string; }; type CustomerLike = { id: string; useBilling: () => CustomerBilling; useProducts: () => Array<{ id: string | null; quantity: number; displayName: string; customerType: "user" | "team" | "custom"; type?: "one_time" | "subscription"; switchOptions?: Array<{ productId: string; displayName: string; prices: Record; }>; subscription: null | { subscriptionId: string | null; currentPeriodEnd: Date | null; cancelAtPeriodEnd: boolean; isCancelable: boolean; }; }>; useInvoices: (options?: CustomerInvoicesListOptions) => CustomerInvoicesList; createPaymentMethodSetupIntent: () => Promise; setDefaultPaymentMethodFromSetupIntent: (setupIntentId: string) => Promise; switchSubscription: (options: { fromProductId: string; toProductId: string; priceId?: string; quantity?: number; }) => Promise; }; declare function PaymentsPanel(props: { title?: string; customer?: CustomerLike; customerType?: "user" | "team"; mockMode?: boolean; }): react_jsx_runtime0.JSX.Element | null; //#endregion export { PaymentsPanel }; //# sourceMappingURL=payments-panel.d.ts.map