/**
 * Detect JSON-RPC `eth_getLogs` block-range / result-size limit errors
 * (e.g. Infura "range 100000 exceeds limit of 10000", "query returned more
 * than 10000 results", Alchemy "Log response size exceeded"). Walks nested
 * ethers error wrappers the same way `isRpcRateLimitError` does.
 */
/** True when the error reports an eth_getLogs block-range or result-size cap. */
export declare function isRpcRangeLimitError(error: unknown): boolean;
/**
 * Extracts the provider's advertised range limit when the error message
 * states one (e.g. "range 100000 exceeds limit of 10000" → 10000), so an
 * adaptive fetcher can jump straight to the allowed size instead of halving.
 */
export declare function rpcRangeLimitFromError(error: unknown): number | undefined;
//# sourceMappingURL=isRpcRangeLimitError.d.ts.map