import type { TRPCMiddlewareFunction } from '@trpc/server'; import type { IOptionsConstructor, IRules } from './types'; /** * * @param ruleTree * @param options * * Validates rules and generates middleware from defined rule tree. * */ export declare function shield, TMeta = unknown>(ruleTree: IRules, options?: IOptionsConstructor): TRPCMiddlewareFunction;