import type { Theme as MuiTheme } from '@material-ui/core/styles/createTheme'; import type { Palette as MuiPalette, TypeBackground as MuiTypeBackground } from '@material-ui/core/styles/createPalette'; import { Spacing } from '@material-ui/core/styles/createSpacing'; import { Breakpoints } from '@material-ui/core/styles/createBreakpoints'; import { Typography } from '@material-ui/core/styles/createTypography'; import { ZIndex } from '@material-ui/core/styles/zIndex'; interface TypeBackground extends MuiTypeBackground { dark: string; } interface Palette extends MuiPalette { background: TypeBackground; } export interface Theme extends MuiTheme { name: string; palette: Palette; breakpoints: Breakpoints; spacing: Spacing; typography: Typography; zIndex: ZIndex; } declare type Direction = 'ltr' | 'rtl'; interface ThemeConfig { direction?: Direction; responsiveFontSizes?: boolean; theme?: string; } export declare const createTheme: (config?: ThemeConfig) => Theme; export {};