import { BooleanFilterHelpers as l } from "./BooleanFilter/helpers.js";
import { DateTimeFilterHelpers as o } from "./DateTimeFilter/helpers.js";
import { NumberFilterHelpers as n } from "./NumberFilter/helpers.js";
import { SelectAsyncFilterHelpers as i } from "./SelectAsyncFilter/helpers.js";
import { SelectFilterHelpers as m } from "./SelectFilter/helpers.js";
import { StringFilterHelpers as p } from "./StringFilter/helpers.js";
const r = {
  boolean: new l(),
  string: new p(),
  number: new n(),
  datetime: new o(),
  selectAsync: new i(),
  select: new m(),
  __default__: () => {
    throw new Error("Type no defined");
  }
};
function d(t) {
  const e = r?.[t];
  return e || r.__default__();
}
export {
  d as fieldFactory
};
