import type * as React from "react"; export type ChatHistoryItemProps = { /** Chat title displayed in the sidebar item. */ title: string; /** Whether this item is the currently active chat. */ isActive?: boolean; /** Whether the chat is currently streaming a response. Shows a loading indicator. */ isStreaming?: boolean; /** When set, the item renders as a link instead of a button. */ href?: string; /** Router Link component for client-side routing. Receives `to` and `children`. When omitted, renders a native `` with `href`. */ linkComponent?: React.ElementType; /** Called when the item is clicked (for side-effects like stopping a stream). When `href` is set, navigation is handled by the link. */ onSelect?: () => void; /** Called when the user confirms deletion. When set, a delete action appears on hover. */ onDelete?: () => void; /** Icon component for the delete action. @default Trash2Icon from lucide-react */ deleteIcon?: React.ReactNode; }; export declare function ChatHistoryItem({ title, isActive, isStreaming, href, linkComponent: LinkComp, onSelect, onDelete, deleteIcon, }: ChatHistoryItemProps): React.JSX.Element; //# sourceMappingURL=chat-history-item.d.ts.map