import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from 'ink';
export function QueuedPromptPanel({ session }) {
    const queuedPrompts = session?.queuedPrompts ?? [];
    if (!queuedPrompts.length) {
        return null;
    }
    return (_jsxs(Box, { flexDirection: "column", marginTop: 1, children: [_jsx(Text, { bold: true, color: "cyan", children: "Queued follow-ups" }), queuedPrompts.slice(0, 5).map((item, index) => (_jsxs(Text, { dimColor: index > 0, children: [index + 1, ". ", item.prompt] }, item.id))), queuedPrompts.length > 5 ? (_jsxs(Text, { dimColor: true, children: ["\u2026 ", queuedPrompts.length - 5, " more queued"] })) : null] }));
}
//# sourceMappingURL=QueuedPromptPanel.js.map