import React from 'react'; import { IconButtonProps as MaterialIconButtonProps } from '@material-ui/core'; import { ThemedStyledComponents } from '../MovideskUI'; import { PaletteColor } from '@material-ui/core/styles/createPalette'; declare type StyledPalette = ThemedStyledComponents['theme']['palette']; declare type IconButtonColor = { [K in keyof StyledPalette]: StyledPalette[K] extends PaletteColor ? K : never; }; declare type IconButtonProps = MaterialIconButtonProps & { solidColor?: keyof IconButtonColor; }; declare const IconButton: React.ForwardRefExoticComponent & React.RefAttributes>; export { IconButton, IconButtonProps };