import { Theme } from "./theme-class.ts";
export declare const theme: Theme;
export declare function getCurrentThemeName(): string | undefined;
export declare function initTheme(themeName?: string, enableWatcher?: boolean): void;
export declare function setTheme(name: string, enableWatcher?: boolean): {
    success: boolean;
    error?: string;
};
export declare function setThemeInstance(themeInstance: Theme): void;
export declare function onThemeChange(callback: () => void): void;
export declare function stopThemeWatcher(): void;
//# sourceMappingURL=global-theme.d.ts.map