import { CSSObject } from '@janribkaui/styled-engine'; import { StyleFunction } from '../Box'; import { Breakpoints } from '../createBreakpoints/createBreakpoints'; import { ResponsiveStyleValue } from '../styleFunctionSx'; import type { Breakpoint } from '../createTheme'; export interface ResolveBreakpointValuesOptions { values: ResponsiveStyleValue; breakpoints?: Breakpoints['values']; base?: Record; } export function resolveBreakpointValues( options: ResolveBreakpointValuesOptions, ): Record; export function mergeBreakpointsInOrder(breakpoints: Breakpoints, styles: CSSObject[]): CSSObject; export function handleBreakpoints( props: Props, propValue: any, styleFromPropValue: (value: any, breakpoint?: Breakpoint) => any, ): any; type DefaultBreakPoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** * @returns An enhanced stylefunction that considers breakpoints */ export default function breakpoints( styleFunction: StyleFunction, ): StyleFunction> & Props>;