diff --git a/packages/mui-system/src/index.d.ts b/packages/mui-system/src/index.d.ts index a9f5521a773092..66f2a1ae612d31 100644 --- a/packages/mui-system/src/index.d.ts +++ b/packages/mui-system/src/index.d.ts @@ -1,4 +1,3 @@ -import { CSSObject } from '@emotion/react'; import { ComposedStyleFunction, StyleFunction, @@ -14,7 +13,6 @@ import { sizing, typography, } from './Box'; -import { Breakpoints } from './createTheme/createBreakpoints'; // disable automatic export export {}; @@ -34,7 +32,7 @@ export type BordersProps = PropsFor; // breakpoints.js type DefaultBreakPoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; -export { handleBreakpoints } from './breakpoints'; +export { handleBreakpoints, mergeBreakpointsInOrder } from './breakpoints'; /** * @returns An enhanced stylefunction that considers breakpoints @@ -43,11 +41,6 @@ export function breakpoints, ): StyleFunction> & Props>; -// restructures the breakpoints in the correct order and merges all styles args -export function mergeBreakpointsInOrder( - breakpointsInputs: Breakpoints, - styles: CSSObject[], -): CSSObject; export function compose>>(...args: T): ComposedStyleFunction;