import "../motion-utils/dist-es-errors.js";
import { memo } from "../motion-utils/dist-es-memo.js";
import { supportsFlags } from "./dist-es-utils-supports-flags.js";
function memoSupports(callback, supportsFlag) {
  const memoized = memo(callback);
  return () => {
    var _a;
    return (_a = supportsFlags[supportsFlag]) !== null && _a !== void 0 ? _a : memoized();
  };
}
export {
  memoSupports
};
//# sourceMappingURL=dist-es-utils-supports-memo.js.map
