/** * Fetches a JSON resource with simple retry handling for transient failures. * * Each attempt reuses the provided `fetch` options. Non-2xx responses are treated as failures, * intermediate failures are logged at warning level, and the final failure is rethrown to the caller. * * @param url Resource URL to request. * @param options Native `fetch` options passed through unchanged. * @param retries Maximum number of attempts before failing. * @returns Parsed JSON response body typed as `T`. */ export declare function fetchWithRetries(url: string, options?: RequestInit, retries?: number): Promise;