import { IRules, OptionsConstructorInterface } from "./types.cjs"; import { MiddlewareFunction } from "@trpc/server/unstable-core-do-not-import"; //#region src/shield/shield.d.ts /** * Validates rules and generates middleware from defined rule tree. */ declare function shield, TMeta extends object = object>(ruleTree: IRules, options?: OptionsConstructorInterface): MiddlewareFunction; //#endregion export { shield }; //# sourceMappingURL=shield.d.cts.map