import { TranslateService } from './EditorTranslator'; interface Props { translateService: TranslateService; detectLanguage: (text: string) => string | null; onTranslate?: ({ targetLanguage }: { targetLanguage: string; }) => void; onRestore?: () => void; showTranslationBadge?: boolean; } export declare function InlineTranslationPlugin(props: Props): import("react/jsx-runtime").JSX.Element | null; export {};