/** * Short-TTL in-process cache for the plugin-settings singleton. * * Settings are read on virtually every payment operation (create-order reads * them several times) but change only on an explicit admin save. A short TTL * removes the per-request DB round-trips while keeping multi-instance * deployments acceptably fresh: another instance picks a change up within the * TTL, and the instance that wrote it invalidates immediately. * * `PAYPAL_SETTINGS_CACHE_MS` overrides the TTL; `0` disables caching. */ export declare const SETTINGS_CACHE_TTL_MS: number; export declare function getCachedSettings(key: string): T | null; export declare function setCachedSettings(key: string, value: unknown): void; /** * Drop every cached settings view (module service AND credential resolver — * they cache different shapes of the same row). Called after a settings write * so reads in this process are immediately fresh. */ export declare function invalidateSettingsCache(): void; //# sourceMappingURL=settings-cache.d.ts.map