import { BoxProps } from '@mui/material';
import { ComponentType } from 'react';
/**
 * A higher-order component that adds sx prop to the wrapped component.
 *
 * @param WrappedComponent The component to wrap.
 * @returns The wrapped component with sx prop.
 *
 */
export interface WithSxProps {
    sx?: BoxProps['sx'];
}
export declare function withSx<T extends object>(WrappedComponent: ComponentType<T>): ComponentType<T & WithSxProps>;
