import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import { PixelOverlay } from "./PixelOverlay.js";
import { PlanOverlay } from "./PlanOverlay.js";
import { SkillsOverlay } from "./SkillsOverlay.js";
export function FullScreenOverlayRouter({ overlay, version, cwd, agentRunning, planAutoExpand, onClosePixel, onPixelFixOne, onPixelFixAll, onCloseSkills, onClosePlan, onApprovePlan, onRejectPlan, }) {
    if (overlay === "pixel") {
        return (_jsx(PixelOverlay, { version: version, agentRunning: agentRunning, onClose: onClosePixel, onFixOne: onPixelFixOne, onFixAll: onPixelFixAll }));
    }
    if (overlay === "skills") {
        return _jsx(SkillsOverlay, { cwd: cwd, onClose: onCloseSkills });
    }
    if (overlay === "plan") {
        return (_jsx(PlanOverlay, { cwd: cwd, autoExpandNewest: planAutoExpand, onClose: onClosePlan, onApprove: onApprovePlan, onReject: onRejectPlan }));
    }
    return null;
}
//# sourceMappingURL=FullScreenOverlayRouter.js.map