import type { GlobalThisSupportedLanguage, VeloGlobalsSiteLanguage, Language } from "./types.js"; /** * Retrieves a list of all languages supported by a site. * * Languages supported on a site are defined in the site's multilingual settings. * * @returns An array of `language` objects, or an empty array if no languages are available. * * @example List supported languages * ```typescript * import { listSupportedLanguages } from '@wix/site'; * * const languages = listSupportedLanguages(); * console.log('Available languages:', languages); * // [ * // { * // id: "en", * // displayName: "English", * // regionalFormat: "en-US", * // url: "https://mysite.com/en", * // primary: true, * // resolutionMethod: "SUBDIRECTORY" * // }, * // { * // id: "fr", * // displayName: "Français", * // regionalFormat: "fr-FR", * // url: "https://mysite.com/fr", * // primary: false, * // resolutionMethod: "SUBDIRECTORY" * // } * // ] * ``` */ export declare function listSupportedLanguages(): Language[]; export declare function buildDisplayName(language: VeloGlobalsSiteLanguage | GlobalThisSupportedLanguage): string | undefined; export declare function buildUrlForLanguage(language: VeloGlobalsSiteLanguage | GlobalThisSupportedLanguage, cleanUrl: string): string | undefined; //# sourceMappingURL=multilingual.d.ts.map