import type { ReactiveController, ReactiveControllerHost } from 'lit'; import type { ElementIntlBase } from './Abstracts/ElementIntlBase'; /** * The config options for a IntlController. */ export interface IIntlControllerConfig { factory: () => TIntl; } /** * The `IntlController` class. * * @public */ export declare class IntlController implements ReactiveController { private readonly _host; private readonly _translator; private readonly _intl; private _subscription; /** * Constructs a new instance of the `IntlController` class. * * @public */ constructor(host: ReactiveControllerHost & Element, config: IIntlControllerConfig); /** * Gets the intl. * * @public */ get intl(): TIntl; /** * @public */ hostConnected(): void; /** * @public */ hostDisconnected(): void; /** * @public */ setLocale(locale?: string): void; } /** * Adds an intl controller to the given host. * * @public * @param host The host element. * @param config The configuration options. * @returns The intl controller instance. */ export declare function addIntlController(host: ReactiveControllerHost & Element, config: IIntlControllerConfig): IntlController; //# sourceMappingURL=IntlController.d.ts.map