import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren } from 'react';
import { PropsForTranslation } from '../../hooks/useTranslation.js';
import { ModalProps } from './Modal.js';
import '../../hooks/useLanguage.js';

type LanguageModalTranslation = {
    message: string;
    done: string;
};
type LanguageModalProps = ModalProps & {
    onDone: () => void;
};
/**
 * A Modal for selecting the Language
 *
 * The State of open needs to be managed by the parent
 */
declare const LanguageModal: ({ overwriteTranslation, onDone, onBackgroundClick, ...modalProps }: PropsForTranslation<LanguageModalTranslation, PropsWithChildren<LanguageModalProps>>) => react_jsx_runtime.JSX.Element;

export { LanguageModal };
