import * as React from 'react';
import { ResponsiveStyleValue, SxProps, SystemProps } from '@mui/system';
import { OverrideProps, OverridableComponent } from '../OverridableComponent';
import { Theme } from '../styles/createTheme';
export interface StackTypeMap
{
props: P &
SystemProps & {
ref?: React.Ref;
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* Defines the `flex-direction` style property.
* It is applied for all screen sizes.
* @default 'column'
*/
direction?: ResponsiveStyleValue<'row' | 'row-reverse' | 'column' | 'column-reverse'>;
/**
* Defines the space between immediate children.
* @default 0
*/
spacing?: ResponsiveStyleValue;
/**
* Add an element between each child.
*/
divider?: React.ReactNode;
/**
* The system prop, which allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Stack](https://mui.com/material-ui/react-stack/)
*
* API:
*
* - [Stack API](https://mui.com/material-ui/api/stack/)
*/
declare const Stack: OverridableComponent;
export type StackProps<
D extends React.ElementType = StackTypeMap['defaultComponent'],
P = {},
> = OverrideProps, D>;
export default Stack;