import{slicedToArray as r}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{useState as t,useEffect as i}from"react";import{normalizeOptions as o}from"../utils/dropdownUtils.js";function e(e,n,l,s){var u=t((function(){return o(e,void 0,void 0,l,s)})),f=r(u,2),p=f[0],a=f[1],d=t(""),c=r(d,2),m=c[0],v=c[1];i((function(){a(o(e,m,n,l,s))}),[e,m,n,l,s]);return{filteredOptions:p,filterOptions:function(r){v(r)},setFilteredOptions:a}}export{e as default};
//# sourceMappingURL=useDropdownFiltering.js.map
