function validateimport { validate } from "https://deno.land/x/apex_core@v0.1.1/mod.ts"; validate(doc: Document, ...rules: ValidationRule[]): ApexError[]Parametersdoc: Document...rules: ValidationRule[]ReturnsApexError[]