import type { EditorLocale } from "@/shared/locales";
import "./index.css";
interface LinkEditorPanelProps {
    value: string;
    locale: EditorLocale;
    errorMessage?: string;
    submitDisabled?: boolean;
    onChange: (value: string) => void;
    onSubmit: () => void;
    onRemove: () => void;
    onClose: () => void;
}
/** 统一渲染链接编辑面板，供 Toolbar 与 BubbleMenu 复用。 */
declare const LinkEditorPanel: ({ value, locale, errorMessage, submitDisabled, onChange, onSubmit, onRemove, onClose, }: LinkEditorPanelProps) => import("react/jsx-runtime").JSX.Element;
export default LinkEditorPanel;
