/**
 * Billing Gateway Factory
 *
 * Returns the configured BillingGateway implementation based on the
 * provider setting in the billing registry.
 *
 * Usage:
 *   import { getBillingGateway } from '@nextsparkjs/core/lib/billing/gateways/factory'
 *   const session = await getBillingGateway().createCheckoutSession(params)
 */
import type { BillingGateway } from './interface';
/**
 * Get the billing gateway for the configured payment provider.
 * Singleton - the same instance is returned on subsequent calls.
 *
 * Provider is determined by BILLING_REGISTRY.config.provider (from billing.config.ts).
 */
export declare function getBillingGateway(): BillingGateway;
/**
 * Get resource hint domains for the configured billing provider.
 * Use in <head> for performance optimization.
 *
 * @example
 * // In layout.tsx:
 * const { preconnect, dnsPrefetch } = getBillingResourceHints()
 */
export declare function getBillingResourceHints(): {
    preconnect: string[];
    dnsPrefetch: string[];
};
/**
 * Reset the cached gateway instance.
 * Useful for testing or when billing config changes at runtime.
 */
export declare function resetBillingGateway(): void;
//# sourceMappingURL=factory.d.ts.map