import '../components/theme-provider'; import '../components/my-component/web-chat/WebChat'; import '../components/Login'; export declare class ChatApp { themePath: string; mode: 'light' | 'dark'; themeObject: { [key: string]: string; }; isLoggedIn: boolean; userToken: string; userId: string; private themeProviderRef?; constructor(); componentWillLoad(): void; private getCookie; private handleLoginSuccess; /** * Changes the theme and saves the preference to localStorage * @param newTheme The theme to change to ('light' or 'dark') */ changeTheme(newTheme: 'light' | 'dark'): Promise<"dark" | "light">; /** * Toggles between light and dark themes */ toggleTheme(): Promise<"dark" | "light">; render(): any; }