UNPKG

@aslaluroba/help-center

Version:

A powerful and customizable help center widget for Angular applications with real-time chat functionality, AI assistance, and multi-language support.

35 lines (34 loc) 1.13 kB
import { Observable } from 'rxjs'; import { Language } from '../types'; import * as i0 from "@angular/core"; declare const defaultTranslations: { readonly ChatIntroMessage: ""; readonly BabylaiTitle: ""; readonly BabylaiDescription: ""; readonly ChatNow: ""; readonly TryBableAI: ""; readonly ContactUs: ""; readonly PickTopicTitle: ""; readonly BabylAI: ""; readonly ChatPlaceholder: ""; readonly PoweredByBabylAI: ""; readonly EndChat: ""; readonly LeavingDialogTitle: ""; readonly LeavingDialogBody: ""; readonly Confirm: ""; readonly Cancel: ""; readonly title: ""; }; export type TranslationKey = keyof typeof defaultTranslations; export declare class TranslationService { private translations; private _currentLang; readonly currentLang: Observable<Language>; constructor(); translate(key: TranslationKey): string; setLanguage(lang: Language): void; getCurrentLang(): Language; static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>; } export {};