/// <reference types="react" />
import type { RenderedMessage } from '../../utils';
export declare function useNewMessageNotification(messages: RenderedMessage[], currentUserId: string | undefined, hasMoreNewer?: boolean): {
    atBottom: import("react").RefObject<boolean>;
    isMessageListScrolledToBottom: boolean;
    newMessagesNotification: boolean;
    setIsMessageListScrolledToBottom: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    setNewMessagesNotification: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
