import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import { Footer } from "./Footer.js";
import { ModelSelector } from "./ModelSelector.js";
import { ThemeSelector } from "./ThemeSelector.js";
export function ChatFooterPane({ overlay, onModelSelect, onModelCancel, loggedInProviders, currentModel, currentProvider, onThemeSelect, onThemeCancel, currentTheme, contextUsed, contextWindowOptions, displayedCwd, gitBranch, thinkingLevel, planMode, exitPending, renderMarkdown, }) {
    if (overlay === "model") {
        return (_jsx(ModelSelector, { onSelect: onModelSelect, onCancel: onModelCancel, loggedInProviders: loggedInProviders, currentModel: currentModel, currentProvider: currentProvider }));
    }
    if (overlay === "theme") {
        return (_jsx(ThemeSelector, { onSelect: onThemeSelect, onCancel: onThemeCancel, currentTheme: currentTheme }));
    }
    return (_jsx(Footer, { model: currentModel, tokensIn: contextUsed, contextWindowOptions: contextWindowOptions, cwd: displayedCwd, gitBranch: gitBranch, thinkingLevel: thinkingLevel, planMode: planMode, exitPending: exitPending, renderMarkdown: renderMarkdown }));
}
//# sourceMappingURL=ChatFooterPane.js.map