import { getMixer } from "./complex.js";
import { mixNumber } from "./number.js";
function mix(from, to, p) {
  if (typeof from === "number" && typeof to === "number" && typeof p === "number") {
    return mixNumber(from, to, p);
  }
  const mixer = getMixer(from);
  return mixer(from, to);
}
export {
  mix
};
//# sourceMappingURL=index.js.map
