import { ComponentsConfig, IThemeManager, ThemeType, ThemingConfig } from "./types"; /** * Get a value recursive from an JSON-like object to go to a variable from some def like &&myvars.some.asdf * @param root Root JSON-like Object * @param path Path to navigate to (string array) * @param {*} value optional value to search on * @returns resolved variable from path */ export declare const getDeepAttribute: (root: Record, path: string[], value?: any) => any; /** * Resolve a Component in themeConfig.components. Includes resolving default def, variants and defaultProps * Config will include the CSS ClassNames for the component and the parts for all variants. * @param component The component * @param theme The theming config * @returns ComponentConfig */ export declare const resolveComponent: (component: string, theme: ThemingConfig) => ComponentsConfig; export declare class ThemeManager implements IThemeManager { __lastActiveTheme: null | ThemeType; init(componentCreationFunction: Function): void; loadTheme(_themeConfig: ThemingConfig, pool?: ThemingConfig[]): { name: string; components: ComponentsConfig[]; globalStyles: Function; } | null; }