export interface MessageProps {
    id: string;
    message?: string;
    file?: string;
    from: 'user' | 'nai';
    type: 'text' | 'audio' | 'file';
    links?: {
        title: string;
        url: string;
    }[];
    userName?: string;
    image?: string;
    unitsAddress?: {
        id: number;
        position: {
            lat: number;
            lng: number;
        };
    }[];
    isNew?: boolean;
}
export interface HighlightTerm {
    chatPosition?: {
        top: number;
        width: number;
        left: number;
    };
    text: string;
    element: EventTarget;
    position: {
        x: number;
        y: number;
        width: number;
        height: number;
    };
}
export interface ChatFeedbackProps {
    id: string;
    vote: boolean;
    message: string;
    currentFeedback: 'like' | 'dislike' | null;
}
export interface ActionsProps {
    onLike: (data: ChatFeedbackProps) => void;
    onDislike: (data: ChatFeedbackProps) => void;
    audio: {
        onGetAudio: (id: string, message: string) => Promise<Blob | undefined>;
        isLoading: boolean;
    };
}
