/// <reference types="react" />
import { ApolloError } from '@apollo/client/errors';
import { type MessageArray } from './AIChatPage';
import { PostChatResultSignals } from './SubscribeToNewMessageForNewChat';
export declare const ON_CONTINUE_CHAT_RESULT: unknown;
interface SubscribeToNewMessageFromExistingChatProps {
    messages: MessageArray;
    setMessages: React.Dispatch<React.SetStateAction<MessageArray>>;
    sessionId: string;
    setIsListeningForResponseContinuedChat: React.Dispatch<React.SetStateAction<boolean>>;
    setResponseError: React.Dispatch<React.SetStateAction<ApolloError | string | null>>;
    setIsResponseTruncated: React.Dispatch<React.SetStateAction<boolean>>;
    setPostChatResultSignals: React.Dispatch<React.SetStateAction<PostChatResultSignals>>;
}
declare const SubscribeToNewMessageFromExistingChat: ({ messages, setMessages, sessionId, setIsListeningForResponseContinuedChat, setResponseError, setIsResponseTruncated, setPostChatResultSignals, }: SubscribeToNewMessageFromExistingChatProps) => import("react/jsx-runtime").JSX.Element;
export default SubscribeToNewMessageFromExistingChat;
