import { IRules, OptionsInterface } from "./types.mjs"; //#region src/shield/generator.d.ts /** * Generates middleware from given rules. */ declare function generateMiddlewareFromRuleTree>(ruleTree: IRules, options: OptionsInterface): ({ next, ctx, type, path, input, rawInput }: { next: () => Promise; ctx: TContext; type: string; path: string; input: { [name: string]: any; }; rawInput: unknown; }) => Promise; //#endregion export { generateMiddlewareFromRuleTree }; //# sourceMappingURL=generator.d.mts.map