import { ApplicationContext } from "../api"; import { RootNode } from "../dom"; import { ServiceOptions } from "../Service"; export interface ApplicationContextProperties { host: HTMLElement; rootNode: RootNode; container: HTMLElement; locale: string; supportedLocales: string[]; /** A callback to change the application's locale is injected by the runtime. */ changeLocale(locale: string): void; } export declare class ApplicationContextImpl implements ApplicationContext { #private; constructor(_options: ServiceOptions, properties: ApplicationContextProperties); getHostElement(): HTMLElement; getRoot(): RootNode; getShadowRoot(): ShadowRoot | undefined; getApplicationContainer(): HTMLElement; getLocale(): string; setLocale(locale: string): void; getSupportedLocales(): readonly string[]; }