import { alignment } from "../utils/styleProps.cjs"; import { SpaceProp, SpacingTokens } from "@marigold/system"; import { ReactNode } from "react"; import { AriaRegionProps } from "@marigold/types"; export interface StackProps extends AriaRegionProps { /** * Set the spacing between child elements. */ space?: SpaceProp['space']; /** * Children of the component. */ children?: ReactNode; /** * Stretch to fill space (vertical AND horizontal, useful if you want to change y alignment). * @default false */ stretch?: boolean; /** * Horizontal alignment for the children. * @default 'stretch' */ alignX?: keyof typeof alignment.vertical.alignmentX; /** * Vertical alignment for the children. */ alignY?: keyof typeof alignment.vertical.alignmentY; /** * Prop to make the stack rendered as a list element. * Useful for screen readers and accessibility. * @default false */ asList?: boolean; } export declare const Stack: ({ children, space, stretch, alignX, alignY, asList, ...props }: StackProps) => import("react").JSX.Element;