variable validateimport { validate } from "https://deno.land/x/hoyams@v0.0.1/mod.ts"; type<T>(obj: unknown, ruleSegment: RuleSegment) => T