import * as React from 'react'; import { IFlexShorthandProps, Responsive } from '../../enhancers'; import { PolymorphicComponentProps } from '../Box'; export declare type StackSpacingVals = 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 24 | 32; declare type DirectionVals = 'vertical' | 'horizontal'; export declare type StackOwnProps = Pick & { /** * The direction to render the stack */ direction?: DirectionVals | Responsive; /** * The space between each stack item */ spacing?: StackSpacingVals | Responsive; /** * If `true`, each stack item will show a divider */ divider?: true | React.ReactElement; /** * If `true`, will render as `inline-flex` rather than `flex` */ inline?: boolean; }; export declare type StackProps = PolymorphicComponentProps; declare const defaultElement = "div"; export declare const Stack: (props: StackProps) => JSX.Element; export declare const HStack: (props: StackProps) => JSX.Element; export declare const VStack: (props: StackProps) => JSX.Element; export {};