import { DefaultTheme, css, CSSObject, StyledProps } from 'styled-components'; export declare type BreakpointNameConstraint = string | number | symbol; export declare type BreakpointMap = { [breakpoint in B]: number; }; declare type ThemeShape = { breakpoints: BreakpointMap; }; export declare type DefaultBreakpointName = 'mobile' | 'tablet' | 'desktop'; export declare type ThemedBreakpointName = DefaultTheme extends ThemeShape ? B : DefaultBreakpointName; export declare type BreakpointFunction = (breakpointA: B, breakpointB?: B) => typeof css; export declare type ThemedBreakpointFunction = (breakpointA: B, breakpointB?: B) =>

(props: StyledProps

) => typeof css; export declare type ValueConstraint = string | number | boolean; export declare type ScaleConstraint = { [name: string]: any; }; export declare type ValueOrValueMap = V | { [breakpoint in B]?: V; }; export declare type ThemedValueOrValueMap = ValueOrValueMap; export interface ValueToStyleFunction { (value: V, scale?: S): string | CSSObject | ReturnType; } export interface MapFunction { (valueOrValues: ValueOrValueMap, mapValueToStyle: (value: V) => string | CSSObject | ReturnType): any; (valueOrValues: ValueOrValueMap, mapValueToStyle: (value: V, scale: S) => string | CSSObject | ReturnType, scale: S | ((theme: DefaultTheme) => S)): any; } export {};