import { CSSObject } from '@mui/styled-engine'; import { Breakpoints } from "../createBreakpoints/createBreakpoints.js"; import type { Breakpoint, Theme } from "../createTheme/index.js"; import { ResponsiveStyleValue } from "../styleFunctionSx/index.js"; import { StyleFunction } from "../style/index.js"; export const DEFAULT_BREAKPOINTS: Breakpoints; export interface ResolveBreakpointValuesOptions { values: ResponsiveStyleValue; breakpoints?: Breakpoints['values'] | undefined; base?: Record | undefined; } export function resolveBreakpointValues(options: ResolveBreakpointValuesOptions): Record; export function mergeBreakpointsInOrder(breakpoints: Breakpoints, styles: CSSObject[]): CSSObject; export function iterateBreakpoints(target: any, theme: Theme, propValue: any, callback: (mediaKey: string | undefined, value: any, initialKey?: string) => any): any; export function handleBreakpoints(props: Props, propValue: any, styleFromPropValue: (value: any, breakpoint?: Breakpoint) => any): any; export function hasBreakpoint(breakpoints: Breakpoints, value: any): boolean; type DefaultBreakPoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** * @returns An enhanced stylefunction that considers breakpoints */ export default function breakpoints(styleFunction: StyleFunction): StyleFunction> & Props>;