import { ComponentNameToClassKey, ComponentsPropsList } from '@mui/material/styles'; import { CSSObject, CSSInterpolation, Interpolation } from '@mui/system'; /** * All standard components exposed by `material-ui` are `StyledComponents` with * certain `classes`, on which one can also set a top-level `className` and inline * `style`. */ export type ExtendMui = Omit; type OverridesStyleRules = Record & { ownerState: OwnerState extends Object ? OwnerState : ComponentsPropsList[ComponentName] & Record; } : {}) & { theme: Theme; } & Record>>; export type ComponentsOverrides = { [Name in keyof ComponentNameToClassKey]?: Partial> } & { MuiCssBaseline?: CSSObject | string | ((theme: Theme) => CSSInterpolation); }; export {};