import type { Corti } from "@corti/sdk"; import type { ReactiveController, ReactiveControllerHost } from "lit"; interface LanguagesControllerHost extends ReactiveControllerHost { region?: string; dictationConfig?: Corti.TranscribeConfig; dispatchEvent(event: CustomEvent): boolean; requestUpdate(): void; _languages?: Corti.TranscribeSupportedLanguage[]; } /** * Controller that manages automatic language loading based on region. * Loads languages when they're not present and handles region changes. * Reacts to updates and automatically loads languages when needed. */ export declare class LanguagesController implements ReactiveController { #private; host: LanguagesControllerHost; constructor(host: LanguagesControllerHost); initialize(): void; hostUpdate(): void; /** * Clear the auto-loaded flag (when languages are set externally) */ clearAutoLoadedFlag(): void; } export {};