import { Leaf, ChildrenAnalyzer } from "@contember/react-multipass-rendering";
import { FileKind } from "./FileKind.js";
class BoxedFileKind {
  constructor(value) {
    this.value = value;
  }
}
const fileKindLeaf = new Leaf((node) => {
  return new BoxedFileKind(node.props);
}, FileKind);
const fileKindTemplateAnalyzer = new ChildrenAnalyzer([fileKindLeaf], {
  ignoreUnhandledNodes: false,
  staticRenderFactoryName: "staticRender",
  unhandledNodeErrorMessage: "Upload: only FileKind children are supported."
});
export { BoxedFileKind, fileKindTemplateAnalyzer };
//# sourceMappingURL=fileKindTemplateAnalyzer.js.map
