import { storageConst } from '../constants/projConsts'; type StorageData = { [K in keyof typeof storageConst]: K extends 'ASSIST_INTERRUPT_DIALOG_LIST' | 'MYBOT_INTERRUPT_DIALOG_LIST' ? any[] : K extends 'PROACTIVE_MODE' | 'AUTOSCROLL' ? boolean : K extends 'ACTIVE_TAB' | 'LANGUAGE' ? string : K extends 'INTERNAL_TRANSFER' ? any : never; }; interface WidgetSettings { isProactiveEnabled?: boolean; isAutoScrollEnabled?: boolean; languageSettings?: { language: string; }; } export default class LocalStorageService { private readonly hostIns; private readonly rootService; constructor(hostIns: any); private get conversationId(); private getStorageItem; private setStorageItem; getConvObjFromLS(): StorageData; deleteLocalStorageState(convId: string): void; initializeLocalStorageData(widgetSettings: WidgetSettings): void; private shouldAddInternalTransfer; private updateRootServiceState; private updateStorageValue; setInterruptDialogList: (dialogs: any[]) => void; setMyBotInterruptDialogList: (dialogs: any[]) => void; setCustomInterruptDialogList: (dialogs: any[]) => void; setProactiveMode: (mode: boolean) => void; setActiveTab: (tab: string) => void; setAutoScroll: (autoScroll: boolean) => void; setLanguageInfo: (lang: string) => void; setInternalTransferInfo: (data: any) => void; setThemeLocal(theme?: any): void; setFinalSummaryGenerated: (isGenerated: boolean) => void; private getStorageValue; getInterruptDialogList: () => never[]; getMyBotInterruptDialogList: () => never[]; getProactiveMode: () => boolean; getActiveTab: () => string; getAutoScroll: () => boolean; getLanguage: () => null; getInternalTransferInfo: () => {}; getThemeLocal: () => string; getFinalSummaryGenerated: () => boolean; } export {};