UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

13 lines (12 loc) 480 B
import type { RefObject } from 'react'; import type { MessageTuple } from '../types'; interface UseChatLoaderIndicatorProps { isStreamLoading: boolean; finalMessages: MessageTuple<string>[]; lastUserMessageId: string | null; aiMessageRef: RefObject<HTMLDivElement | null>; } export declare const useChatLoaderIndicator: ({ isStreamLoading, finalMessages, lastUserMessageId, aiMessageRef, }: UseChatLoaderIndicatorProps) => { showLoader: boolean; }; export {};