/*! Copyright (c) 2019, XAPPmedia */ import { LanguageTag, LocaleObject, Localizable } from "stentor-models"; /** * This will return all the locales that are currently defined in the object including those * in the default that are also found in the passed in supported locales. * * For example, the supported locales are "en-US", "es-ES", & "en-CA" and the localized object has * a defaultLocale of "es" and support for "en-US" on the locales. You will then get an array * of "es-ES" (from the defaultLocale) and "en-US" (from the locale object). * * NOTE: If a defaultLocale is not defined on the object, "en" is used. */ export declare function getLanguageTagsFromLocalizable(obj: Localizable, supported: LanguageTag[]): LanguageTag[];