import React from 'react'; import { ThemeOptions } from '@mui/material'; import { ThemeItemType, Unit, Value } from '../types'; export type ThemeMapItem = { type: ThemeItemType; min?: number; max?: number; unit?: Unit; step?: number; options?: string[]; icons?: React.ElementType[]; }; export type ThemeMap = { [key in keyof ThemeOptions]: ThemeMapItem | ThemeMapItem[] | { [subKey in keyof ThemeOptions[key]]: ThemeMapItem | ThemeMapItem[] | { [subSubKey: string]: ThemeMapItem; }; }; }; export declare const themeMap: ThemeMap; type Props = ThemeMapItem & { value: V; defaultValue: V; themeKey: string; onChange: (newValue: V) => void; }; type TypesMap = { [key: string]: React.FunctionComponent; }; export declare const typesMap: TypesMap; export {};