import { Breakpoint } from "@mui/system"; import { Responsive } from "../utils/types"; declare type Result = string | number | undefined; export declare class ResponsiveBuilder { readonly config: Responsive; readonly hidden?: boolean | Breakpoint[]; readonly breakpointKeys: Breakpoint[]; constructor(params: { config: Responsive; hidden?: boolean | Breakpoint[]; }); isHidden(breakpoint: Breakpoint): boolean; /** * use target as base breakpoints, the result will start from the minimum of target * xs | sm | md | lg | xl * target | y | | y | * this y | | y | | * =============================== * result | y | y | y | */ mergeBreakpoints(target: Responsive | Breakpoint[]): Breakpoint[]; generateSxWithHidden(options: { assignValue: (breakpointConfig: T, bp: Breakpoint, lastResultVal: R | undefined) => R | undefined; hiddenValue?: R; /** * if true, will calculate from xs */ strict?: boolean; }): Partial>; generateSx(getValue: (breakpointConfig: T, bp: Breakpoint) => R, initialValue?: R): Partial>>; getSxDisplay(appearance: string): Partial>; } export {};