import type { JSX, RefAttributes } from 'react'; import { type Responsive, type Spacing } from './components/spacing/types.js'; import type { CommonProps } from './components/types.js'; export interface StyleProps { /** The amount of margin applied to all edges of this component. */ margin?: Responsive; /** The amount of margin applied to the left and right edges of this component. Takes priority over `margin`. */ marginX?: Responsive; /** The amount of margin applied to the top and bottom edges of this component. Takes priority over `margin`. */ marginY?: Responsive; /** The amount of margin applied to the top edge of this component. Takes priority over `marginY` and `margin`. */ marginTop?: Responsive; /** The amount of margin applied to the right edge of this component. Takes priority over `marginX` and `margin`. */ marginRight?: Responsive; /** The amount of margin applied to the bottom edge of this component. Takes priority over `marginY` and `margin`. */ marginBottom?: Responsive; /** The amount of margin applied to the left edge of this component. Takes priority over `marginX` and `margin`. */ marginLeft?: Responsive; } export declare function withStyleProps, R>(WrappedComponent: (props: T & RefAttributes) => JSX.Element | null, displayName?: string): (props: T & StyleProps & RefAttributes) => JSX.Element | null; //# sourceMappingURL=with-style-props.d.ts.map