import { createElement, CSSProperties, PropsWithChildren } from 'react'; export type AxisAlignment = 'start' | 'end' | 'center' | 'spread' | 'stretch'; export type StackProps = PropsWithChildren<{ /** * Custom class name */ className?: string; /** * Direction of the wrapper */ direction?: 'row' | 'column'; /** * Custom inline style */ style?: CSSProperties; /** * Inline spacing */ spacing?: string; /** * Use reverse order */ reverse?: boolean; /** * Render witdh 100% width */ fullWidth?: boolean; /** * Apply flex-wrap:wrap to the stack */ wrap?: boolean; /** * Rendering as sepcific element */ as?: Parameters[0]; /** * Alignments along the main axis */ mainAxis?: AxisAlignment; /** * Alignment along the cross axis */ crossAxis?: AxisAlignment; }>; export declare const Stack: (props: { /** * Custom class name */ className?: string | undefined; /** * Direction of the wrapper */ direction?: "row" | "column" | undefined; /** * Custom inline style */ style?: CSSProperties | undefined; /** * Inline spacing */ spacing?: string | undefined; /** * Use reverse order */ reverse?: boolean | undefined; /** * Render witdh 100% width */ fullWidth?: boolean | undefined; /** * Apply flex-wrap:wrap to the stack */ wrap?: boolean | undefined; /** * Rendering as sepcific element */ as?: string | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | undefined; /** * Alignments along the main axis */ mainAxis?: AxisAlignment | undefined; /** * Alignment along the cross axis */ crossAxis?: AxisAlignment | undefined; } & { children?: import("react").ReactNode; } & import("react").RefAttributes) => import("react").ReactElement> | null;