UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

11 lines (10 loc) 642 B
/// <reference types="lodash" /> import { ChatScrollerType } from './ChatScrollerType'; import { ThreadModel } from '../../models/ThreadModel'; export declare const useChatScrollFunctions: (thread: ThreadModel | undefined, scrollTo: (top: number, behavior?: 'smooth') => void, getPosition: ChatScrollerType, getScrollContainer: () => HTMLDivElement | undefined | Window) => { scrollButtonEnabled: boolean; handleCheckButtonState: import("lodash").DebouncedFuncLeading<() => void>; handleBottomScroll: () => void; handleSaveScrollPosition: import("lodash").DebouncedFuncLeading<() => void>; isTablet: boolean; };