import Stripe from 'stripe'; import { UserModel } from '../models/UserModel'; import { ExternalAccount } from '../utils/customTypes/types'; export declare const orm: () => Promise<((k: T extends string ? T : never) => { collection: import("mongodb").Collection<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T]>; create: (params: import("mongodb").OptionalUnlessRequiredId<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T]>) => Promise>; createWithAutoFields: (...keys: Z[]) => (params: Omit, Z>) => Promise>; related: (objects: { StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][], k: K, relatedCollection: NewCollection, nK: NewCollectionKey) => Promise[]>; composeRelated: (objects: { StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][], k: K_1, relatedCollection: NewCollection_1, nK: NewCollectionKey_1) => Promise<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][]>; })>; export declare const MongoOrb: (k: T extends string ? T : never) => { collection: import("mongodb").Collection<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T]>; create: (params: import("mongodb").OptionalUnlessRequiredId<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T]>) => Promise>; createWithAutoFields: (...keys: Z[]) => (params: Omit, Z>) => Promise>; related: (objects: { StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][], k: K, relatedCollection: NewCollection, nK: NewCollectionKey) => Promise[]>; composeRelated: (objects: { StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][], k: K_1, relatedCollection: NewCollection_1, nK: NewCollectionKey_1) => Promise<{ StripeSubscriptionCollection: Stripe.Subscription; StripeProductCollection: Stripe.Product; StripePriceCollection: Stripe.Price; StripeCheckoutSessionsCollection: Stripe.Checkout.Session; StripePaymentIntentCollection: Stripe.PaymentIntent; StripeTaxRateCollection: Stripe.TaxRate; StripeInvoiceCollection: Stripe.Invoice; UserCollection: UserModel; StripeCustomerCollection: Stripe.Customer; StripeExternalAccountCollection: ExternalAccount; PaymentMethodCollection: Stripe.PaymentMethod; }[T][]>; };