/**
 * JSON-RPC 2.0 helpers for proxy error responses.
 */
/** True when the request expects a JSON-RPC response (id may be 0). */
export declare function hasJsonRpcId(id: unknown): id is string | number;
export declare function jsonRpcErrorBody(id: string | number | undefined | null, code: number, message: string, data?: Record<string, unknown>): Record<string, unknown>;
//# sourceMappingURL=json-rpc-utils.d.ts.map