import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren, ReactNode } from 'react';
import { PropsForTranslation } from '../../localization/useTranslation.js';
import { Language } from '../../localization/util.js';
import { DialogProps } from './Dialog.js';
import '../layout/FloatingContainer.js';
import '../../hooks/useFloatingElement.js';

type LanguageDialogTranslation = {
    language: string;
    chooseLanguage: string;
    done: string;
} & Record<Language, string>;
type LanguageDialogProps = Omit<DialogProps, 'titleElement' | 'description'> & {
    titleOverwrite?: ReactNode;
    descriptionOverwrite?: ReactNode;
};
/**
 * A Dialog for selecting the Language
 *
 * The State of open needs to be managed by the parent
 */
declare const LanguageDialog: ({ overwriteTranslation, onClose, titleOverwrite, descriptionOverwrite, ...props }: PropsForTranslation<LanguageDialogTranslation, PropsWithChildren<LanguageDialogProps>>) => react_jsx_runtime.JSX.Element;

export { LanguageDialog };
