import { type RefObject } from 'react';
/**
 * Absolute screen position used for the avatar profile tooltip.
 *
 * @private internal helper of `<ChatMessageItem/>`
 */
type AvatarTooltipPosition = {
    readonly top: number;
    readonly left: number;
};
/**
 * State and handlers used by the avatar profile tooltip behavior.
 *
 * @private internal hook of `<ChatMessageItem/>`
 */
export type UseChatMessageAvatarTooltipResult = {
    readonly avatarRef: RefObject<HTMLDivElement | null>;
    readonly tooltipRef: RefObject<HTMLDivElement | null>;
    readonly isAvatarTooltipVisible: boolean;
    readonly avatarTooltipPosition: AvatarTooltipPosition | null;
    readonly showTooltip: () => void;
    readonly handleMouseEnter: () => void;
    readonly handleMouseLeave: () => void;
};
/**
 * Manages delayed avatar tooltip display and outside-dismiss behavior.
 *
 * @private internal hook of `<ChatMessageItem/>`
 */
export declare function useChatMessageAvatarTooltip(): UseChatMessageAvatarTooltipResult;
export {};
