import { ThemeBuildConfig, ThemeConfig } from '../theme'; import { CSSProperties } from 'react'; export declare const createTheme: (config: ThemeConfig) => CSSProperties; export declare const buildTheme: (config: ThemeBuildConfig) => ThemeConfig; export declare const toStyle: (config: ThemeConfig) => string; /** * Recursively creates a list of CSS variables from the theme config object */ export declare const createStyleObjectFromTheme: (tree: ThemeConfig | object, root?: string, styles?: Record) => Record; /** * Flattening the theme configuration */ export declare const flattenObject: (tree: T, collection: Record, root?: keyof T | undefined) => Record;