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 {};
