import type { FeatureListItem } from '../../molecules/FeatureList/FeatureList.svelte'; export type BillingStatus = 'active' | 'past_due' | 'canceled' | 'trialing'; export interface BillingUsageItem { id: string; label: string; value: number; max: number; unit?: string; tone?: 'default' | 'success' | 'warning' | 'error' | 'brand'; } export interface BillingPaymentMethod { brand: string; last4: string; expMonth: number; expYear: number; } export interface BillingInvoice { id: string; number: string; date: string; amount: string; status: 'paid' | 'open' | 'void' | 'uncollectible'; } interface BillingPageProps { planName?: string; price?: string; period?: string; renewalDate?: string; seats?: string; status?: BillingStatus; /** Trial / next invoice hint */ nextInvoiceAmount?: string; paymentMethod?: BillingPaymentMethod | null; usage?: BillingUsageItem[]; invoices?: BillingInvoice[]; features?: FeatureListItem[]; showAnnualPromo?: boolean; class?: string; onupgrade?: () => void; onmanage?: () => void; oncancel?: () => void; onchangeseats?: () => void; ondownloadinvoice?: (invoice: BillingInvoice) => void; onswitchyearly?: () => void; } declare const BillingPage: import("svelte").Component; type BillingPage = ReturnType; export default BillingPage;