import type { FormulaPickerCategory } from "@/shared/config/formulaCategories";
import type { EditorLocale } from "@/shared/locales";
import "./index.css";
interface MathDialogProps {
    isOpen: boolean;
    initialValue?: string;
    type: "inline" | "block";
    onConfirm: (latex: string) => void;
    onCancel: () => void;
    formulaCategories?: FormulaPickerCategory[];
    locale: EditorLocale;
    /** 为 true 时标记为编辑器焦点保活区域，避免 NotionLike 下误触发 blur 收口。 */
    preserveEditorFocus?: boolean;
    /** 弹窗挂载容器，用于继承编辑器作用域主题变量 */
    portalContainer?: HTMLElement | null;
}
declare const MathDialog: ({ isOpen, initialValue, type, onConfirm, onCancel, formulaCategories, locale, preserveEditorFocus, portalContainer, }: MathDialogProps) => import("react/jsx-runtime").JSX.Element;
export default MathDialog;
