import type { ShippingProvider } from '../../../../types/shippingProvider.js'; /** * Register a shipping provider. Must be called from a module's bootstrap.ts. * * @throws if the registry is already locked (e.g., called from middleware). * @throws if the provider code is already registered. */ export declare function registerShippingProvider(provider: ShippingProvider): void; /** * Return every registered shipping provider. Order matches registration order * across modules (which follows the alphabetical module-load order — see * bin/lib/loadModules.js). */ export declare function getAllShippingProviders(): Promise; /** * Return a single provider by its `code`, or undefined if no such provider * is registered (or its module is not installed). */ export declare function getShippingProvider(code: string): Promise; /** * Test-only escape hatch. Clears the synchronous code-tracking set so a * test suite can re-register providers under a fresh bootstrap-like * environment. Guarded by an explicit NODE_ENV check so production-deployed * code can't blow up the registry. Does NOT touch the underlying * `addProcessor` registry — tests that need to reset that should use the * registry's own reset hooks. */ export declare function __resetShippingProviderRegistryForTests(): void;