import { LanguageType } from '../../context';
export type UrlPartsType = {
    url: string;
    position: 'before-lang' | 'after-lang';
}[];
interface Props {
    /** The language the content is in */
    currentLanguage: LanguageType;
    /** Whether article is the original language or not */
    isOriginalLanguage?: boolean;
    /** Whether article has been translated by a real person or not */
    isHumanTranslation?: boolean;
    /** Which translations are available */
    translations: {
        [key in LanguageType]?: null | {
            post_name?: string;
        };
    };
    /** The function to call when the language is changed */
    onChange?: (language?: LanguageType, url?: string) => void;
    /** Additional parts of the URL */
    urlParts?: UrlPartsType;
    /** The version of the language switcher to use */
    variant?: 'default' | 'short';
    /** Optional text to show before the language options */
    label?: string;
    /** Additional classes */
    className?: string;
}
declare const LanguageSwitcher: ({ currentLanguage, isOriginalLanguage, isHumanTranslation, translations, onChange, urlParts, variant, label, className, }: Props) => import("react/jsx-runtime").JSX.Element | null;
export default LanguageSwitcher;
