export declare class ThemeProvider { hostElement: HTMLElement; /** * Path to the CSS theme file */ themePath: string; /** * Current theme mode */ mode: 'light' | 'dark'; /** * Internal stylesheet element reference */ styleElement: HTMLLinkElement | null; /** * Watch for changes to the theme path and update the stylesheet */ handleThemePathChange(newPath: string): void; /** * Watch for changes to theme mode */ handleModeChange(newMode: 'light' | 'dark'): void; /** * Component lifecycle method that runs once after the component is first connected to the DOM */ componentDidLoad(): void; /** * Update the theme class on the document body */ private updateThemeClass; /** * Load a theme from a CSS file path */ private loadThemeFromPath; /** * Public method to toggle between light and dark themes */ toggleTheme(): Promise<"dark" | "light">; /** * Public method to set theme explicitly */ setTheme(mode: 'light' | 'dark'): Promise<"dark" | "light">; render(): any; }