import type { LLMConfig } from "./types"; import type { ProviderName } from "@/llm/types"; interface ChatHeaderProps { llmConfig: LLMConfig | null; hasMessages: boolean; configDialogOpen: boolean; onConfigDialogOpenChange: (open: boolean) => void; onClearChat: () => void; onCopyChat?: () => void; onExportChat?: (format: "json" | "markdown") => void; tempProvider: ProviderName; tempModel: string; tempApiKey: string; tempBaseUrl: string; onProviderChange: (provider: ProviderName) => void; onModelChange: (model: string) => void; onApiKeyChange: (apiKey: string) => void; onBaseUrlChange: (baseUrl: string) => void; onSaveConfig: () => void; onClearConfig: () => void; /** When true, hides the API key config badge/button and dialog. */ hideConfigButton?: boolean; /** * When set, the header shows a "Free tier" badge (instead of the local * provider/model badge) and passes this info down to the ConfigurationDialog * so it renders a Sign-in CTA above the bring-your-own-key form. * Used in hosted inspector mode where the LLM is managed server-side. */ freeTierInfo?: { onLoginClick: () => void; }; /** Label for the clear/new-chat button. Default: "New Chat". */ clearButtonLabel?: string; /** When true, hides the "Chat" title in the header. */ hideTitle?: boolean; /** When true, hides the icon on the clear/new-chat button. */ clearButtonHideIcon?: boolean; /** When true, hides the keyboard shortcut (⌘O) on the clear/new-chat button. */ clearButtonHideShortcut?: boolean; /** Button variant for the clear/new-chat button. Default: "default". */ clearButtonVariant?: "default" | "secondary" | "ghost" | "outline"; /** When true, hides the "New Chat" / clear button entirely. */ hideClearButton?: boolean; } export declare function ChatHeader({ llmConfig, hasMessages, configDialogOpen, onConfigDialogOpenChange, onClearChat, tempProvider, tempModel, tempApiKey, tempBaseUrl, onProviderChange, onModelChange, onApiKeyChange, onBaseUrlChange, onSaveConfig, onClearConfig, hideConfigButton, freeTierInfo, clearButtonLabel, hideTitle, clearButtonHideIcon, clearButtonHideShortcut, clearButtonVariant, hideClearButton, onCopyChat, onExportChat, }: ChatHeaderProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=ChatHeader.d.ts.map