import type { ThemeBuilder } from './engine/builder'; import type { BaseTheme } from './types'; /** * Check if a theme with the specified name is registered. * * @param {string} themeName The theme name. * @returns {boolean} */ export declare function hasTheme(themeName: string): boolean; /** * Get a registered theme by name. * * @param {string} themeName The theme name. * @returns {object|undefined} The theme or undefined if not found. */ export declare function getTheme(themeName: string): ThemeBuilder | undefined; /** * Get all registered theme names. * * @returns {string[]} */ export declare function getThemeNames(): string[]; /** * Get all registered themes. * * @returns {object[]} */ export declare function getThemes(): ThemeBuilder[]; /** * Register a theme. * * @param {string|object} themeNameOrConfig Theme name for specific theme or object representing theme config. * @param {object} [themeConfig] The theme config object (optional if first parameter has already theme config). * @returns {object} The registered theme (ThemeBuilder instance). */ export declare function registerTheme(themeNameOrConfig: string | BaseTheme, themeConfig?: BaseTheme): ThemeBuilder; /** * Reinitialize an existing theme with a new configuration. * * @param {string|object} themeNameOrConfig Theme name for specific theme or object representing theme config. * @param {object} [themeConfig] The theme config object to reinitialize (optional if first parameter has already theme config). * @returns {object|undefined} The reinitialized theme (ThemeBuilder instance) or undefined if theme not found. */ export declare function reinitTheme(themeNameOrConfig: string | BaseTheme, themeConfig?: BaseTheme): ThemeBuilder | undefined;