import { ExtendedFlexboxProps, SpaceProps } from '@spicy-ui/styled-system';
import * as React from 'react';
import { SxProp } from '../../system';
import { AsProp, ChildrenProp, HTMLAttributes } from '../../types';
export interface StackProps extends HTMLAttributes, ExtendedFlexboxProps, AsProp, ChildrenProp, SxProp {
    /** Spacing between each stack element. */
    spacing?: SpaceProps['margin'];
    /** Set a custom divider element. */
    divider?: React.ReactElement;
    /** Set to `true` if each child of the stack should be wrapped in a `Box` component. */
    shouldWrapChildren?: boolean;
}
export declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
