import { type ComponentPropsWithoutRef, type ElementType, type ReactNode } from "react";
export type StackDirection = "row" | "column" | "row-reverse" | "column-reverse";
export type StackAlign = "start" | "center" | "end" | "stretch" | "baseline";
export type StackJustify = "start" | "center" | "end" | "between" | "around" | "evenly";
export type StackWrap = "nowrap" | "wrap" | "wrap-reverse";
/**
 * Gap takes a token-step number (1–8 → `--ods-space-1`…`--ods-space-8`)
 * OR a raw CSS value (e.g. `"12px"`, `"1rem"`). Token-step is the
 * preferred path — anchors to the spacing scale.
 */
export type StackGap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | (string & {});
export interface StackProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
    /** Layout direction. Default `"column"`. */
    direction?: StackDirection;
    /** Gap between children. Default `2` (`--ods-space-2`). */
    gap?: StackGap;
    /** Cross-axis alignment. Default `"stretch"`. */
    align?: StackAlign;
    /** Main-axis alignment. Default `"start"`. */
    justify?: StackJustify;
    /** Flex-wrap. Default `"nowrap"`. */
    wrap?: StackWrap;
    /** Inline-flex (vs the default block-level flex). */
    inline?: boolean;
    /** Stretch to fill the parent. */
    fullWidth?: boolean;
    /**
     * Optional divider node placed between every pair of children.
     * Common: `<Divider />`. The divider is wrapped in a flex item, so
     * Stack's gap applies on both sides of it.
     */
    divider?: ReactNode;
    /** Render as a different element. Default `"div"`. */
    as?: ElementType;
    /** Children to lay out. */
    children?: ReactNode;
}
export declare const Stack: import("react").ForwardRefExoticComponent<StackProps & import("react").RefAttributes<HTMLDivElement>>;
export declare const HStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "direction"> & import("react").RefAttributes<HTMLDivElement>>;
export declare const VStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "direction"> & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Stack.d.ts.map