import { JRPCRequest, Json } from "../interfaces.js"; import { ContextConstraint, JRPCMiddlewareV2, MiddlewareScaffold } from "./v2interfaces.js"; /** * Creates a middleware function from an object of RPC method handler functions, * keyed to particular method names. If a method corresponding to a key of this * object is requested, this middleware will pass it to the corresponding * handler and return the result. * * @param handlers - The RPC method handler functions. * @returns The scaffold middleware function. */ export declare function createScaffoldMiddleware(handlers: MiddlewareScaffold): JRPCMiddlewareV2;