import { jsx, jsxs } from "react/jsx-runtime";
import { useEffect } from "react";
import { Box, Text } from "ink";
import Gradient from "ink-gradient";
import BigText from "ink-big-text";
import { getPackageVersion } from "../version.js";
function Banner({ onComplete }) {
  useEffect(() => {
    const timer = setTimeout(onComplete, 1500);
    return () => clearTimeout(timer);
  }, [onComplete]);
  const version = getPackageVersion();
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
    /* @__PURE__ */ jsx(Gradient, { name: "pastel", children: /* @__PURE__ */ jsx(BigText, { text: "WIGOLO", font: "tiny" }) }),
    /* @__PURE__ */ jsx(Text, { dimColor: true, children: "Local-first web intelligence for AI agents" }),
    /* @__PURE__ */ jsxs(Text, { dimColor: true, children: [
      "v",
      version
    ] })
  ] });
}
export {
  Banner
};
//# sourceMappingURL=Banner.js.map