/** @jsxRuntime classic */ /** @jsx jsx */ import { type ReactNode } from 'react'; import { type Theme } from "../types.js"; import { type BoxProps } from "./Box.js"; declare const alignment: { center: string; end: string; start: string; stretch: string; }; export type StackProps = { /** The value of the "align-items" property. */ align?: keyof typeof alignment; /** Each element in the stack. */ children: ReactNode; /** Causes items in the stack to be oriented horizontally, instead of vertically */ across?: boolean; /** The placement, if any, of the dividing elements. */ dividers?: 'none' | 'around' | 'between' | 'start' | 'end'; /** The size of the gap between each element in the stack. */ gap?: keyof Theme['spacing']; } & BoxProps; export declare const Stack: (props: { as?: Comp | undefined; ref?: import("react").Ref)[Comp] : Comp extends new (...args: any) => any ? InstanceType : undefined> | undefined; } & Omit>, "children" | "as" | "align" | "gap" | "across" | "dividers" | keyof import("./Box.js").ColorProps | keyof import("./Box.js").RadiiProps | keyof import("./Box.js").MarginProps | keyof import("./Box.js").PaddingProps | keyof { textAlign?: ("center" | "end" | "justify" | "left" | "right" | "start") | readonly (("center" | "end" | "justify" | "left" | "right" | "start") | null)[]; height?: import("../types.js").ResponsiveProp; width?: import("../types.js").ResponsiveProp; }> & { /** The value of the "align-items" property. */ align?: keyof typeof alignment; /** Each element in the stack. */ children: ReactNode; /** Causes items in the stack to be oriented horizontally, instead of vertically */ across?: boolean; /** The placement, if any, of the dividing elements. */ dividers?: "none" | "around" | "between" | "start" | "end"; /** The size of the gap between each element in the stack. */ gap?: keyof Theme["spacing"]; } & import("./Box.js").ColorProps & import("./Box.js").RadiiProps & import("./Box.js").MarginProps & import("./Box.js").PaddingProps & { textAlign?: ("center" | "end" | "justify" | "left" | "right" | "start") | readonly (("center" | "end" | "justify" | "left" | "right" | "start") | null)[]; height?: import("../types.js").ResponsiveProp; width?: import("../types.js").ResponsiveProp; }) => import("react").ReactElement; export {}; //# sourceMappingURL=Stack.d.ts.map