import { ObservableQuery, QueryOptions } from "./query"; import { QuerySharedContext } from "./context"; export interface JsonRpcBatchRequest { method: string; params: unknown; id: string; } /** * Observable query for batched JSON-RPC requests. * Manages an array of `JsonRpcBatchRequest` and returns a map of results keyed by request ID. */ export declare class ObservableJsonRpcBatchQuery extends ObservableQuery> { protected readonly requests: JsonRpcBatchRequest[]; constructor(sharedContext: QuerySharedContext, baseURL: string, url: string, requests: JsonRpcBatchRequest[], options?: Partial); protected getCacheKey(): string; protected fetchResponse(abortController: AbortController): Promise<{ headers: any; data: Record; }>; }