import type { RpcSchemaMap } from '../../types/index.js';
import type { RpcMiddleware } from './RpcContext.js';
/**
 * Validates the request against the matching Zod schema in `schemas`, then
 * stamps `params` and `schema` into the MiddlewareContext for downstream
 * handlers. If the method is not in `schemas`, the request is passed through
 * via `next()` — letting a sibling sub-engine or terminal middleware handle it.
 */
export declare const createValidationMiddleware: (schemas: RpcSchemaMap) => RpcMiddleware;
//# sourceMappingURL=createValidationMiddleware.d.ts.map