// 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"../toml/parse.ts"; export{Format}from"./_formats.ts"; exportfunctiontest(str:string):boolean{return_test(str,[Format.TOML]);} exportconst extract =createExtractor({[Format.TOML]: parse asParser});exportdefault extract;