/*! Copyright (c) 2019, XAPPmedia */ import { Locale, Localizable } from "stentor-models"; /** * This will return the property at the given attribute based on the locale provided. * * For example, if locale is undefined, then the default attribute will be returned. * * If locale is a Language, then the overriding locales will be searched. If found at that language, it will be returned. * If not found at that language, then the default will be returned. * * If locale is a dialect, then the overriding dialect will be searched. If found at that dialect, it will be returned. * If not found at that dialect, then the overriding language of the dialect will be searched. If found at that language, it will be returned. * If not found at that language, then the default will be returned. * * @param {keyof O} attribute * @param {LocaleObj} localeObj * @returns {Return} */ export declare function getAttribute, Return>(attribute?: keyof L, locale?: Locale, localeObj?: L): Return;