/** * Copied from chakra-ui, license MIT * Accessed 2021-12-26, commit April 13th, 2021 * See also: https://github.com/chakra-ui/chakra-ui/blob/8b5eb96/packages/utils/src/responsive.ts */ import { Dict } from "./types"; export declare const breakpoints: readonly string[]; export declare function mapResponsive(prop: any, mapper: (val: any) => any): any; export declare function objectToArrayNotation(obj: Dict, bps?: readonly string[]): any[]; export declare function arrayToObjectNotation(values: any[], bps?: readonly string[]): Dict; export declare function isResponsiveObjectLike(obj: Dict, bps?: readonly string[]): boolean; /** * since breakpoints are defined as custom properties on an array, you may * `Object.keys(theme.breakpoints)` to retrieve both regular numeric indices * and custom breakpoints as string. * * This function returns true given a custom array property. */ export declare const isCustomBreakpoint: (maybeBreakpoint: string) => boolean;