import { type TamboThread } from "@tambo-ai/react"; import React from "react"; /** * Root component that provides context for thread history */ interface ThreadHistoryProps extends React.HTMLAttributes { contextKey?: string; onThreadChange?: () => void; children?: React.ReactNode; defaultCollapsed?: boolean; position?: "left" | "right"; } declare const ThreadHistory: React.ForwardRefExoticComponent>; /** * Header component with title and collapse toggle */ declare const ThreadHistoryHeader: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Button to create a new thread */ declare const ThreadHistoryNewButton: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Search input for filtering threads */ declare const ThreadHistorySearch: React.ForwardRefExoticComponent & React.RefAttributes>; /** * List of thread items */ declare const ThreadHistoryList: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Dropdown menu component for thread actions */ declare const ThreadOptionsDropdown: ({ thread, onRename, onGenerateName, }: { thread: TamboThread; onRename: (thread: TamboThread) => void; onGenerateName: (thread: TamboThread) => void; }) => React.JSX.Element; export { ThreadHistory, ThreadHistoryHeader, ThreadHistoryList, ThreadHistoryNewButton, ThreadHistorySearch, ThreadOptionsDropdown, }; //# sourceMappingURL=thread-history.d.ts.map