import type { SourceFormat } from "../types/editor";
import "./dialog.css";
interface ConvertToPretextDialogProps {
    /** The current source to display (read-only) on the left. */
    sourceContent: string;
    /** The format of `sourceContent` — used for the left-panel label and Monaco language. */
    sourceFormat: SourceFormat;
    /** The already-converted PreTeXt to display (read-only) on the right. */
    pretextSource: string;
    /** Called when the user confirms creating a converted PreTeXt division. */
    onConfirm: () => void;
    /** Called when the dialog should close without converting. */
    onClose: () => void;
}
/**
 * Confirmation dialog shown before converting a non-PreTeXt division into a
 * new PreTeXt division. Displays both sources side-by-side for review.
 */
declare const ConvertToPretextDialog: ({ sourceContent, sourceFormat, pretextSource, onConfirm, onClose, }: ConvertToPretextDialogProps) => import("react").JSX.Element;
export default ConvertToPretextDialog;
