import { ForwardRefExoticComponent } from 'react'; import { StackItem } from './StackItem'; /** * Stack properties */ export interface StackPropsStrict { /** Additional classes */ className?: string; /** *Deprecated* Please use `wrap` prop instead. */ nowrap?: boolean; /** *Deprecated* Please use `direction` prop instead. */ vertical?: boolean; /** Adjust spacing between elements */ spacing?: '0' | '1' | '2' | '3' | '4' | '5' | 0 | 1 | 2 | 3 | 4 | 5; /** *Deprecated* Please use `alignItems` prop instead. */ alignment?: 'leading' | 'trailing' | 'center' | 'fill' | 'baseline'; /** *Deprecated* Please use `justifyContent` prop instead. */ distribution?: 'equalSpacing' | 'leading' | 'trailing' | 'center' | 'fill' | 'fillEvenly'; /** Flex Wrap */ wrap?: 'nowrap' | 'wrap' | 'wrap-reverse'; /** Flex Direction */ direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse'; /** Justify Content */ justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly'; /** Align Items */ alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline'; /** Align Content */ alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch'; } export interface StackProps extends StackPropsStrict { [propName: string]: any; } export interface Stack extends ForwardRefExoticComponent { /** Subcomponents */ Item: typeof StackItem; } export declare const Stack: Stack;