import { OverridableComponent, OverridableTypeMap } from '@material-ui/core/OverridableComponent'; import { ComponentType, FunctionComponent } from 'react'; import { Interpolation, ThemedStyledProps } from './styled-components'; import { RcTheme } from './theme/theme.type'; export declare type CustomStyledComponentResult = Interpolation> & FunctionComponent; export interface OverridableStyled { >(component: ComponentType): (strings: TemplateStringsArray, ...interpolations: Array>>) => OverridableComponent & CustomStyledComponentResult; } /** * just type to make styled-component work with Mui dynamic component type, * * you need custom Map type like below, define the defaultComponent type and provide that static Props * * * @example * * ```ts * interface RcPaginationItemTypeMap { props: RcPaginationItemProps; defaultComponent: D; } ``` */ export declare const overridableStyled: OverridableStyled;