import { JsonRpcRequest } from 'json-rpc-engine'; export declare const fetchJsonWithRetry: (fetchFn: typeof fetch, retryCount: number, url: string, init: { method: string; headers: Record; body?: unknown; credentials?: string; }, waitBeforeRetryFor?: number) => Promise; export declare const fetchJsonRpcWithRetry: (fetchFn: typeof fetch, retryCount: number, url: string, init: { method: string; headers: Record; body?: JsonRpcRequest; credentials?: string; }) => Promise;