import { XiomeComponentOptions } from "../../../../assembly/frontend/components/types/xiome-component-options.js"; import { XiomeStoreConnect } from "./connect/component.js"; import { XiomeStoreBillingArea } from "./billing-area/component.js"; import { XiomeStoreCustomerPortal } from "./customer-portal/component.js"; import { XiomeStoreSubscriptionPlanning } from "./subscription-planning/component.js"; export declare function integrateStoreComponents({ models, modals }: XiomeComponentOptions): { XiomeStoreConnect: import("../../../../types/mixin.js").Mixin): Promise; load: () => Promise; initialize: () => Promise; refresh: () => Promise; subscriptions: { addPlan(options: { planLabel: string; tier: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionTierDraft; }): Promise; addTier(options: { label: string; planId: string; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; editPlan({ planId, label, archived }: { planId: string; label: string; archived: boolean; }): Promise; editTier({ planId, tierId, label, active, pricing }: { planId: string; tierId: string; label: string; active: boolean; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; purchase({ stripePriceId, showLoadingSpinner }: { stripePriceId: string; showLoadingSpinner?: boolean; }): Promise; cancel(tierId: string): Promise; uncancel(tierId: string): Promise; load: () => Promise; }; billing: { load: () => Promise; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; customerPortal: () => Promise; }; connect: { load: () => Promise; readonly isOnboardingNeeded: boolean; readonly isAllowedToOnboard: boolean; stripeAccountOnboarding(): Promise; stripeLogin(): Promise; pause(): Promise; resume(): Promise; }; snap: import("@chasemoskal/snapstate").Snapstate<{ user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }>; state: { user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; get: { is: { readonly storeActive: boolean; readonly userLoggedIn: boolean; }; user: { readonly access: import("../../../auth/types/auth-tokens.js").AccessPayload; }; connect: { readonly status: import("../../isomorphic/concepts.js").StripeConnectStatus; readonly details: import("../../isomorphic/concepts.js").StripeConnectDetails; }; subscriptions: { readonly plans: import("../../isomorphic/concepts.js").SubscriptionPlan[]; readonly mySubscriptionDetails: import("../../isomorphic/concepts.js").SubscriptionDetails[]; }; billing: { readonly paymentMethod: import("../../isomorphic/concepts.js").PaymentMethod; }; }; }; }>>; XiomeStoreSubscriptionPlanning: import("../../../../types/mixin.js").Mixin): Promise; load: () => Promise; initialize: () => Promise; refresh: () => Promise; subscriptions: { addPlan(options: { planLabel: string; tier: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionTierDraft; }): Promise; addTier(options: { label: string; planId: string; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; editPlan({ planId, label, archived }: { planId: string; label: string; archived: boolean; }): Promise; editTier({ planId, tierId, label, active, pricing }: { planId: string; tierId: string; label: string; active: boolean; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; purchase({ stripePriceId, showLoadingSpinner }: { stripePriceId: string; showLoadingSpinner?: boolean; }): Promise; cancel(tierId: string): Promise; uncancel(tierId: string): Promise; load: () => Promise; }; billing: { load: () => Promise; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; customerPortal: () => Promise; }; connect: { load: () => Promise; readonly isOnboardingNeeded: boolean; readonly isAllowedToOnboard: boolean; stripeAccountOnboarding(): Promise; stripeLogin(): Promise; pause(): Promise; resume(): Promise; }; snap: import("@chasemoskal/snapstate").Snapstate<{ user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }>; state: { user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; get: { is: { readonly storeActive: boolean; readonly userLoggedIn: boolean; }; user: { readonly access: import("../../../auth/types/auth-tokens.js").AccessPayload; }; connect: { readonly status: import("../../isomorphic/concepts.js").StripeConnectStatus; readonly details: import("../../isomorphic/concepts.js").StripeConnectDetails; }; subscriptions: { readonly plans: import("../../isomorphic/concepts.js").SubscriptionPlan[]; readonly mySubscriptionDetails: import("../../isomorphic/concepts.js").SubscriptionDetails[]; }; billing: { readonly paymentMethod: import("../../isomorphic/concepts.js").PaymentMethod; }; }; }; }>>; XiomeStoreSubscriptionTier: import("../../../../types/constructor.js").Constructor; XiomeStoreSubscriptionCatalog: import("../../../../types/constructor.js").Constructor; XiomeStoreCustomerPortal: import("../../../../types/mixin.js").Mixin): Promise; load: () => Promise; initialize: () => Promise; refresh: () => Promise; subscriptions: { addPlan(options: { planLabel: string; tier: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionTierDraft; }): Promise; addTier(options: { label: string; planId: string; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; editPlan({ planId, label, archived }: { planId: string; label: string; archived: boolean; }): Promise; editTier({ planId, tierId, label, active, pricing }: { planId: string; tierId: string; label: string; active: boolean; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; purchase({ stripePriceId, showLoadingSpinner }: { stripePriceId: string; showLoadingSpinner?: boolean; }): Promise; cancel(tierId: string): Promise; uncancel(tierId: string): Promise; load: () => Promise; }; billing: { load: () => Promise; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; customerPortal: () => Promise; }; connect: { load: () => Promise; readonly isOnboardingNeeded: boolean; readonly isAllowedToOnboard: boolean; stripeAccountOnboarding(): Promise; stripeLogin(): Promise; pause(): Promise; resume(): Promise; }; snap: import("@chasemoskal/snapstate").Snapstate<{ user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }>; state: { user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; get: { is: { readonly storeActive: boolean; readonly userLoggedIn: boolean; }; user: { readonly access: import("../../../auth/types/auth-tokens.js").AccessPayload; }; connect: { readonly status: import("../../isomorphic/concepts.js").StripeConnectStatus; readonly details: import("../../isomorphic/concepts.js").StripeConnectDetails; }; subscriptions: { readonly plans: import("../../isomorphic/concepts.js").SubscriptionPlan[]; readonly mySubscriptionDetails: import("../../isomorphic/concepts.js").SubscriptionDetails[]; }; billing: { readonly paymentMethod: import("../../isomorphic/concepts.js").PaymentMethod; }; }; }; }>>; XiomeStoreSubscriptionStatus: import("../../../../types/constructor.js").Constructor; XiomeStoreBillingArea: import("../../../../types/mixin.js").Mixin): Promise; load: () => Promise; initialize: () => Promise; refresh: () => Promise; subscriptions: { addPlan(options: { planLabel: string; tier: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionTierDraft; }): Promise; addTier(options: { label: string; planId: string; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; editPlan({ planId, label, archived }: { planId: string; label: string; archived: boolean; }): Promise; editTier({ planId, tierId, label, active, pricing }: { planId: string; tierId: string; label: string; active: boolean; pricing: import("../../backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; purchase({ stripePriceId, showLoadingSpinner }: { stripePriceId: string; showLoadingSpinner?: boolean; }): Promise; cancel(tierId: string): Promise; uncancel(tierId: string): Promise; load: () => Promise; }; billing: { load: () => Promise; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; customerPortal: () => Promise; }; connect: { load: () => Promise; readonly isOnboardingNeeded: boolean; readonly isAllowedToOnboard: boolean; stripeAccountOnboarding(): Promise; stripeLogin(): Promise; pause(): Promise; resume(): Promise; }; snap: import("@chasemoskal/snapstate").Snapstate<{ user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }>; state: { user: { accessOp: import("../../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../../framework/ops.js").Op; connectDetailsOp: import("../../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../../framework/ops.js").Op; }; }; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; get: { is: { readonly storeActive: boolean; readonly userLoggedIn: boolean; }; user: { readonly access: import("../../../auth/types/auth-tokens.js").AccessPayload; }; connect: { readonly status: import("../../isomorphic/concepts.js").StripeConnectStatus; readonly details: import("../../isomorphic/concepts.js").StripeConnectDetails; }; subscriptions: { readonly plans: import("../../isomorphic/concepts.js").SubscriptionPlan[]; readonly mySubscriptionDetails: import("../../isomorphic/concepts.js").SubscriptionDetails[]; }; billing: { readonly paymentMethod: import("../../isomorphic/concepts.js").PaymentMethod; }; }; }; }>>; };