import React, { ElementType, CSSProperties } from 'react'; import { PolymorphicPropsWithoutRef } from 'react-polymorphic-types'; import { ResponsiveValue } from 'styled-system'; import { SystemProps } from "../../../lib"; declare const StackDefaultElement = "div"; declare type CSS = CSSProperties; declare type CustomProps = SystemProps & { space: ResponsiveValue; role?: string; flexDirection?: ResponsiveValue; }; declare type StackProps = PolymorphicPropsWithoutRef; export declare const Stack: = "div">({ space, flexDirection, role, ...rest }: StackProps) => JSX.Element; export {};