import React from "react";
export declare const AIPromptModal: (props: {
    onClose: () => void;
    visible: boolean;
    refElement: HTMLElement;
    loading: boolean;
    rawHTML: string;
    selectedText: string;
    errorMsg?: string | undefined;
    onInsert: (rawHTML: string) => void;
    onChat: (message: Array<{
        content: string;
        role: string;
    }>) => void;
    onRetry: () => void;
}) => React.JSX.Element;
