import { ColorVersion, DimensionValue, Direction, Responsive, StyleProps, ViewStyleProps } from '@react-types/shared'; import { CSSProperties, HTMLAttributes } from 'react'; type Breakpoint = 'base' | 'S' | 'M' | 'L' | string; type StyleName = string | string[] | ((dir: Direction) => string); type StyleHandler = (value: any, colorVersion?: number) => string | undefined; export interface StyleHandlers { [key: string]: [StyleName, StyleHandler]; } export declare const baseStyleProps: StyleHandlers; export declare const viewStyleProps: StyleHandlers; export declare function dimensionValue(value: DimensionValue): string | undefined; export declare function responsiveDimensionValue(value: Responsive, matchedBreakpoints: Breakpoint[]): string | undefined; export declare function convertStyleProps(props: ViewStyleProps, handlers: StyleHandlers, direction: Direction, matchedBreakpoints: Breakpoint[]): CSSProperties; type StylePropsOptions = { matchedBreakpoints?: Breakpoint[]; }; export declare function useStyleProps(props: T, handlers?: StyleHandlers, options?: StylePropsOptions): { styleProps: HTMLAttributes; }; export declare function passthroughStyle(value: T): T; export declare function getResponsiveProp(prop: Responsive, matchedBreakpoints: Breakpoint[]): T | undefined; export {};