import FastestValidator, { MessagesType, ValidationSchema } from "fastest-validator"; //#region src/interfaces/rule.d.ts type RuleValidator = (param: { messages: MessagesType; schema: ValidationSchema; }) => { source: string; sanitized?: boolean; }; interface Rule { getName(): string; getMessage(): string; getRule(validator: FastestValidator): RuleValidator; } //#endregion export { Rule, RuleValidator };