import { CSSProperties, ComponentProps, ElementType, ForwardedRef, ReactNode } from "react"; export interface InnerFlexProps { /** * How the elements are placed in the container. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction). */ direction?: "row" | "column"; /** * Whether or not to inline the elements. */ inline?: boolean; /** * Whether or not to reverse the order of the elements. */ reverse?: boolean; /** * The distribution of space around child items along the cross axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-content). */ alignContent?: ("start" | "end" | "center" | "space-between" | "space-around" | "space-evenly" | "stretch" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center"); /** * The alignment of children within their container. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items). */ alignItems?: ("start" | "end" | "center" | "stretch" | "self-start" | "self-end" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center"); /** * The distribution of space around items along the main axis. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content). */ justifyContent?: ("start" | "end" | "center" | "left" | "right" | "space-between" | "space-around" | "space-evenly" | "stretch" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center"); /** * The space between both rows and columns. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/gap). */ gap?: (0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13) | string; /** * Whether flex items are forced onto one line or can wrap onto multiple lines. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap). */ wrap?: "nowrap" | "wrap" | "wrap-reverse"; /** * Whether the elements take up all the space of their container. */ fluid?: boolean; /** * Whether to wrap children in a `div` element. */ wrapChildren?: boolean; /** * An HTML element type or a custom React element type to render as. */ as?: ElementType; /** * @ignore */ style?: CSSProperties; /** * React children */ children: ReactNode; /** * @ignore */ forwardedRef: ForwardedRef; } export declare function InnerFlex({ direction, inline, reverse, alignContent, alignItems, justifyContent, gap, wrap, fluid, style: { width, height, ...style }, children, forwardedRef, ...rest }: InnerFlexProps): JSX.Element; export declare const Flex: import("../../shared").OrbitComponent; export declare type FlexProps = ComponentProps;