interface LoaderStateOptionsimport { type LoaderStateOptions } from "https://deno.land/std@0.152.0/encoding/_yaml/loader/loader_state.ts"; Propertiesoptionallegacy: booleanoptionallistener: ((...args: Any[]) => void) | nulloptionalfilename: stringstring to be used as a file path in error/warning messages. optionalschema: SchemaDefinitionspecifies a schema to use. optionaljson: booleancompatibility with JSON.parse behaviour. MethodsoptionalonWarning(this: null, e?: YAMLError): voidfunction to call on warning messages.