// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { createExtractor, Format, test as _test } from "./mod.ts";
import { parse } from "../yaml.ts";
export { Format } from "./mod.ts";
export function test(str) {
    return _test(str, [
        Format.YAML
    ]);
}
export const extract = createExtractor({
    [Format.YAML]: parse
});
export default extract;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImh0dHBzOi8vZGVuby5sYW5kL3N0ZEAwLjE2Ni4wL2VuY29kaW5nL2Zyb250X21hdHRlci95YW1sLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIENvcHlyaWdodCAyMDE4LTIwMjIgdGhlIERlbm8gYXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4gTUlUIGxpY2Vuc2UuXG5cbmltcG9ydCB7IGNyZWF0ZUV4dHJhY3RvciwgRm9ybWF0LCBQYXJzZXIsIHRlc3QgYXMgX3Rlc3QgfSBmcm9tIFwiLi9tb2QudHNcIjtcbmltcG9ydCB7IHBhcnNlIH0gZnJvbSBcIi4uL3lhbWwudHNcIjtcbmV4cG9ydCB7IEZvcm1hdCB9IGZyb20gXCIuL21vZC50c1wiO1xuXG5leHBvcnQgZnVuY3Rpb24gdGVzdChzdHI6IHN0cmluZyk6IGJvb2xlYW4ge1xuICByZXR1cm4gX3Rlc3Qoc3RyLCBbRm9ybWF0LllBTUxdKTtcbn1cblxuZXhwb3J0IGNvbnN0IGV4dHJhY3QgPSBjcmVhdGVFeHRyYWN0b3IoeyBbRm9ybWF0LllBTUxdOiBwYXJzZSBhcyBQYXJzZXIgfSk7XG5leHBvcnQgZGVmYXVsdCBleHRyYWN0O1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUUxRSxTQUFTLGVBQWUsRUFBRSxNQUFNLEVBQVUsUUFBUSxLQUFLLFFBQVEsV0FBVztBQUMxRSxTQUFTLEtBQUssUUFBUSxhQUFhO0FBQ25DLFNBQVMs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