import type { Logger } from '@ariestools/sdk';
import type { RpcMiddleware } from './RpcContext.js';
/**
 * Wraps downstream middleware in a try/catch and logs any thrown error
 * with the offending RPC method name. Re-throws so JsonRpcServer can
 * still format a spec-compliant error response.
 */
export declare const createLoggingMiddleware: (logger?: Logger) => RpcMiddleware;
//# sourceMappingURL=createLoggingMiddleware.d.ts.map