import type { ElementalTextContentNode } from "@/types/elemental.types"; import * as React from "react"; export interface TranslationEditorToolbarConfig { bold?: boolean; italic?: boolean; underline?: boolean; strikethrough?: boolean; textColor?: boolean; link?: boolean; } export interface TranslationEditorProps { /** Elemental inline elements (rich text). Takes priority over `value`. */ elements?: ElementalTextContentNode[]; /** Plain string value (used when `elements` is not provided) */ value?: string; /** Whether the editor is read-only */ readOnly?: boolean; /** Placeholder text for empty editors */ placeholder?: string; /** Called when the editor content changes (plain text) */ onChange?: (value: string) => void; /** Additional CSS class names */ className?: string; /** Controls which toolbar items are visible. Omit or pass undefined for all items. Pass false per key to hide. */ toolbarConfig?: TranslationEditorToolbarConfig | false; } export declare const TranslationEditor: React.FC;