export interface ChatHistoryRailControllerLabels { newChat: string; showMore: string; showLess: string; } export interface UseChatHistoryRailControllerOptions { items: readonly Item[]; onNewChat: () => void; labels: ChatHistoryRailControllerLabels; previewCount?: number; expandedCount?: number; } export interface ChatHistoryRailController { expanded: boolean; collapsedLimit: number; expandedLimit: number; visibleItems: Item[]; canExpand: boolean; newChatLabel: string; disclosureLabel: string; onNewChat: () => void; toggleExpanded: () => void; resetExpanded: () => void; } export declare function useChatHistoryRailController({ items, onNewChat, labels, previewCount, expandedCount, }: UseChatHistoryRailControllerOptions): ChatHistoryRailController; //# sourceMappingURL=useChatHistoryRailController.d.ts.map