/** * The providers that run on the shared subscription core: the only module, * with the adapters themselves, that enumerates providers. Shared core * modules receive a binding from here as data. * * Adding a provider takes three things: its adapter and database binding * (`subscription-core--adapter.ts`), its entry below, and its row * in `opengeni_private.subscription_core_providers` (a migration, which also * widens the provider CHECK lists). `check:subscription-core-neutral` keeps * this list and the SQL registry rows equal. */ import type { SubscriptionCoreAdapter } from "@opengeni/subscriptions"; import type { SubscriptionCoreProvider } from "./subscription-core/provider.js"; /** The registered provider ids, sorted. */ export declare function subscriptionCoreProviderIds(): string[]; /** The registered binding for a provider id; fails closed for any other id. */ export declare function subscriptionCoreProvider(providerId: string): SubscriptionCoreProvider; /** The registered adapter for a provider id; fails closed for any other id. */ export declare function subscriptionCoreAdapter(providerId: string): SubscriptionCoreAdapter;