import { default as React, ReactElement, ComponentPropsWithRef } from 'react'; import { WithoutSharedProperties } from '../utils/polymorphicTypes'; type AllowedTags = 'div' | 'span' | 'section' | 'article' | 'nav' | 'aside' & keyof React.JSX.IntrinsicElements; type PolymorphicProps = { as?: T; children?: ReactElement | ReactElement[]; direction?: 'row' | 'col' | 'row-reverse' | 'col-reverse'; spacing?: number | 'none'; className?: string; } & WithoutSharedProperties>; export declare const Stack: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export {};