import { ClassNameMap, Styles, WithStylesOptions } from '@material-ui/styles/withStyles'; import { Omit } from '@material-ui/types'; import { Theme as DefaultTheme } from './createMuiTheme'; /** * `makeStyles` where the passed `styles` do not depend on props */ export default function makeStyles( style: Styles, options?: Omit, 'withTheme'> ): (props?: any) => ClassNameMap; /** * `makeStyles` where the passed `styles` do depend on props */ export default function makeStyles< Theme = DefaultTheme, Props extends {} = {}, ClassKey extends string = string >( styles: Styles, options?: Omit, 'withTheme'> ): (props: Props) => ClassNameMap;