/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/chat/hint-banner.tsx — Spark Design source; keep aligned with the main library. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import type { ReactNode } from 'react'; export interface HintBannerProps { type?: 'wiki' | 'credits'; title?: string; description?: string; highlightText?: string; language?: string; rechargeText?: string; onClose?: () => void; onGenerate?: () => void; onRecharge?: () => void; onLanguageChange?: (language: string) => void; closeIcon?: ReactNode; arrowDownSIcon?: ReactNode; suggestionIcon?: ReactNode; /** 供 Portal 浮层继承(与 ChatInput FolderButton 一致),不传则由 dropdown-menu 使用 getThemeFromDocument() 兜底 */ dataStyle?: string; dataTheme?: string; } export declare function HintBanner({ type, title, description, highlightText, language, rechargeText, onClose, onGenerate, onRecharge, onLanguageChange, closeIcon, arrowDownSIcon, suggestionIcon, dataStyle, dataTheme, }: HintBannerProps): import("react/jsx-runtime").JSX.Element; export declare namespace HintBanner { var displayName: string; }