/** * TranslatePane * * The "Translate a page" step of CreatePageModal: choose a source page (when the * modal has a list to choose from), a locale to translate into, and how the new * version starts. */ import React from 'react'; import type { LocaleFieldOption } from './LocaleField.js'; export interface TranslatePaneProps { localesFailed: boolean; onRetryLocales?: () => void; locales: LocaleFieldOption[]; hasSourceToTranslate: boolean; canChooseSource: boolean; translatablePages: { id: string; path: string; title?: string; }[]; translateSource: string | null; onChooseSource: (id: string | null) => void; chosenLocale: LocaleFieldOption | null; onChooseLocale: (tag: string | null) => void; } export declare function TranslatePane({ localesFailed, onRetryLocales, locales, hasSourceToTranslate, canChooseSource, translatablePages, translateSource, onChooseSource, chosenLocale, onChooseLocale, }: TranslatePaneProps): React.ReactElement;