import { IOptions, IRules } from './types'; /** * * @param ruleTree * @param options * * Generates middleware from given rules. * */ export declare function generateMiddlewareFromRuleTree>(ruleTree: IRules, options: IOptions): (opts: { next: Function; ctx: TContext; type: string; path: string; input: { [name: string]: any; }; getRawInput: () => unknown; }) => any;