import React from 'react'; import { ThemeOptions } from '@material-ui/core/styles'; import { TThemeItemType, TUnit } from '../types'; export declare type TThemeMapItem = { type: TThemeItemType; min?: number; max?: number; unit?: TUnit; step?: number; options?: string[]; icons?: React.ElementType[]; }; export declare type TThemeMap = { [key in keyof ThemeOptions]: TThemeMapItem | TThemeMapItem[] | { [subKey in keyof ThemeOptions[key]]: TThemeMapItem | TThemeMapItem[] | { [subSubKey: string]: TThemeMapItem; }; }; }; export declare const themeMap: TThemeMap; declare type TProps = TThemeMapItem & { value: V; themeKey: string; onChange: (newValue: V) => void; }; declare type TTypesMap = { [key: string]: React.FunctionComponent; }; export declare const typesMap: TTypesMap; export {};