/// /// import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; export declare class InstantAppsLanguageSwitcher extends LitElement { /** * Icon to display. * * @default "language" */ icon: string; /** * Instant App portal item - used to fetch it's associated portal item resource. The portal item resource will contain the user defined translated strings. * * @required */ portalItem: __esri.PortalItem; /** Reference to map view to switch web maps if present in locales. */ view?: __esri.MapView | __esri.SceneView; /** Data used to populate language switcher dropdown. */ locales: { locale: string; data?: Record; webmap?: string; }[]; /** Defines the default language of the language switcher dropdown. Set internally if not defined. */ defaultLocale?: string; /** The currently selected language. */ selectedLanguage: string | null; /** * Determines the type of positioning to use for the overlaid content. Using "absolute" will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. "fixed" should be used to escape an overflowing parent container, or when the reference element's position CSS property is "fixed". * * @default "absolute" */ calciteDropdownOverlayPositioning: "absolute" | "fixed"; /** Refreshes the component by fetching the latest translation data from the portal item resource. */ refresh(): Promise; /** Fires when a language is selected from the dropdown. This event will emit an object containing the information on the selected language and a flat object of unique identifiers and their associated values. */ readonly selectedLanguageUpdated: TargetedEvent | null; }>; }