import { JSX } from 'react/jsx-runtime'; import * as React from "react"; import type { AsChildProps } from '../../utils/TypeUtils'; declare const STACK_SPACES: { "space-none": string; "space-xs": string; "space-sm": string; "space-md": string; "space-lg": string; "space-xl": string; }; declare const DIRECTION_CLASSES: { horizontal: string; vertical: string; "reverse-horizontal": string; "reverse-vertical": string; }; declare const STACK_ALIGNMENT: { start: string; end: string; center: string; stretch: string; }; declare const STACK_JUSTIFICATION: { start: string; end: string; center: string; stretch: string; "space-between": string; "space-around": string; }; export type Spacing = keyof typeof STACK_SPACES; export type Alignment = keyof typeof STACK_ALIGNMENT; export type Justification = keyof typeof STACK_JUSTIFICATION; export type StackDirection = keyof typeof DIRECTION_CLASSES; export interface StackChildProps { className: string; } /** * Props that apply to the Stack itself, regardless of how it's rendered. */ interface StackOwnProps { spacing?: Spacing; direction?: StackDirection; justify?: Justification; align?: Alignment; wrap?: boolean; className?: string; } /** * Props that are allowed when Stack is not rendered with `asChild` */ interface StackDistinctProps extends Pick, "style" | "children"> { } export type StackProps = StackOwnProps & (AsChildProps | ({ asChild: never; } & StackDistinctProps)); export declare const Stack: React.ForwardRefExoticComponent>; export interface SpacerProps { size?: Spacing; expand?: boolean; } export declare function Spacer(props: SpacerProps): JSX.Element; export {}; //# sourceMappingURL=Stack.d.ts.map