import { Stripe, StripeCardElement, SetupIntent } from '@stripe/stripe-js'; import { Connection } from '@manifoldco/manifold-init-types/types/v0'; import { GraphqlError } from '@manifoldco/manifold-init-types/types/v0/graphqlFetch'; import { PlanQuery } from '../../types/graphql'; export declare class ManifoldSubscriptionCreate { el: HTMLElement; stripe: Stripe | null; cardPlaceholder?: HTMLDivElement; card: StripeCardElement; connection?: Connection; loading?: boolean; errors?: GraphqlError[]; data?: PlanQuery; setupIntentStatus?: SetupIntent.Status; setupIntentError?: string; subscribing?: boolean; configuredFeatures: { label: string; value: string; }[]; /** * Component heading text */ heading?: string; /** * Plan ID for the new subscription */ planId?: string; /** * (Optional) Name given to the new subscription */ displayName?: string; /** * (Optional) Label given to the new subscription */ label?: string; updatePlan(planId?: string): Promise; componentWillLoad(): Promise; updateConfiguredFeature(event: CustomEvent): void; initializeStripeElements(): Promise; componentDidLoad(): void; subscribe: (e: UIEvent) => Promise; render(): any; }