/** @jsxRuntime classic */ /** @jsx jsx */ import { type ResponsiveProp, type Theme } from "../types.js"; type DimensionType = number | string; type TextAlign = 'left' | 'right' | 'center' | 'justify' | 'start' | 'end'; type TextAlignment = ResponsiveProp; type ColorType = ResponsiveProp; export type ColorProps = { /** background-color */ background?: ColorType; /** color */ foreground?: ColorType; }; type RadiiType = ResponsiveProp; export type RadiiProps = { /** border-radius */ rounding?: RadiiType; /** border-bottom-left-radius and border-bottom-right-radius */ roundingBottom?: RadiiType; /** border-bottom-left-radius and border-top-left-radius */ roundingLeft?: RadiiType; /** border-bottom-right-radius and border-top-right-radius */ roundingRight?: RadiiType; /** border-bottom-left-radius and border-bottom-right-radius */ roundingTop?: RadiiType; }; type SpacingType = ResponsiveProp; export type MarginProps = { /** margin */ margin?: SpacingType; /** margin-top */ marginTop?: SpacingType; /** margin-right */ marginRight?: SpacingType; /** margin-bottom */ marginBottom?: SpacingType; /** margin-left */ marginLeft?: SpacingType; /** margin-top and margin-bottom */ marginY?: SpacingType; /** margin-left and margin-right */ marginX?: SpacingType; }; export type PaddingProps = { /** padding */ padding?: SpacingType; /** padding-top */ paddingTop?: SpacingType; /** padding-right */ paddingRight?: SpacingType; /** padding-bottom */ paddingBottom?: SpacingType; /** padding-left */ paddingLeft?: SpacingType; /** padding-top and padding-bottom */ paddingY?: SpacingType; /** padding-left and padding-right */ paddingX?: SpacingType; }; type BaseBoxProps = { /** text-align */ textAlign?: TextAlignment; /** height */ height?: ResponsiveProp; /** width */ width?: ResponsiveProp; }; export type BoxProps = ColorProps & RadiiProps & MarginProps & PaddingProps & BaseBoxProps; export declare const useBoxStyles: ({ background, foreground, height, margin, marginTop, marginRight, marginBottom, marginLeft, marginY, marginX, padding, paddingTop, paddingRight, paddingBottom, paddingLeft, paddingY, paddingX, rounding, roundingBottom, roundingLeft, roundingRight, roundingTop, textAlign, width, }: BoxProps) => import("facepaint").DynamicStyle[]; export declare const Box: (props: { as?: Comp | undefined; ref?: import("react").Ref)[Comp] : Comp extends new (...args: any) => any ? InstanceType : undefined> | undefined; } & Omit>, "as" | keyof ColorProps | keyof RadiiProps | keyof MarginProps | keyof PaddingProps | keyof BaseBoxProps> & ColorProps & RadiiProps & MarginProps & PaddingProps & BaseBoxProps) => import("react").ReactElement; export {}; //# sourceMappingURL=Box.d.ts.map