import type { Editor } from "@tiptap/react";
import type { CodeBlockLanguageOption } from "@/shared/config";
import type { EditorLocale } from "@/shared/locales";
interface CodeBlockLanguageMenuProps {
    editor: Editor;
    locale: EditorLocale;
    portalContainer: HTMLDivElement | null;
    editorWrapperRef: React.RefObject<HTMLDivElement | null>;
    languages: CodeBlockLanguageOption[];
    defaultLanguage: string;
    enabled?: boolean;
    onMenuRootChange?: (node: HTMLDivElement | null) => void;
    onMenuOpenStateChecked?: (editorFocused: boolean) => void;
}
/** 代码块语言选择器：在编辑器内部按内容坐标绝对定位。 */
export default function CodeBlockLanguageMenu({ editor, locale, portalContainer, editorWrapperRef, languages, defaultLanguage, enabled, onMenuRootChange, onMenuOpenStateChecked, }: CodeBlockLanguageMenuProps): import("react").ReactPortal | null;
export {};
