@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
15 lines (14 loc) • 698 B
TypeScript
/**
* Shared HTTP retryability constants.
*
* Centralises the status-code lists that were duplicated across
* httpRetryHandler, neurolink.ts, fileDetector.ts, and errorHelpers.
*/
/** Server-side and rate-limiting codes worth retrying. */
export declare const RETRYABLE_HTTP_STATUS_CODES: readonly number[];
/** Client-error codes where retrying is pointless. */
export declare const NON_RETRYABLE_HTTP_STATUS_CODES: readonly number[];
/** Check whether an HTTP status code is retryable. */
export declare function isRetryableStatusCode(code: number): boolean;
/** Check whether an HTTP status code is non-retryable. */
export declare function isNonRetryableStatusCode(code: number): boolean;