// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import{ createExtractor,Parser}from"./create_extractor.ts";import{Format}from"./_formats.ts";import{ test as _test }from"./test.ts";import{ parse }from"../yaml/parse.ts"; export{Format}from"./_formats.ts"; /** @deprecated (will be removed after 0.210.0) Import {@link https://deno.land/std/front_matter/yaml.ts} and use `test(str, ["yaml"])` instead. */exportfunctiontest(str:string):boolean{return_test(str,[Format.YAML]);} exportconst extract =createExtractor({[Format.YAML]: parse asParser});/** @deprecated (will be removed after 0.210.0) Import {@linkcode extract} as a named import instead. */exportdefault extract;