/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import type { I18n, DocusaurusConfig, I18nLocaleConfig, I18nConfig } from '@docusaurus/types';
export declare function getDefaultLocaleConfig(locale: string, htmlLang?: string): Omit<I18nLocaleConfig, 'translate' | 'url' | 'baseUrl'>;
export declare function getLocaleList({ i18nConfig, currentLocale, }: {
    i18nConfig: I18nConfig;
    currentLocale: string;
}): [string, ...string[]];
export declare function loadI18n({ siteDir, config, currentLocale, automaticBaseUrlLocalizationDisabled, }: {
    siteDir: string;
    config: DocusaurusConfig;
    currentLocale: string;
    automaticBaseUrlLocalizationDisabled: boolean;
}): Promise<I18n>;
