import { type HTMLStyleProps, type StateProp } from '@innet/dom';
export declare const alignJustifyMap: {
readonly start: "flex-start";
readonly end: "flex-end";
readonly center: "center";
readonly stretch: "stretch";
};
export declare const alignMap: {
readonly baseline: "baseline";
readonly start: "flex-start";
readonly end: "flex-end";
readonly center: "center";
readonly stretch: "stretch";
};
export declare const justifyMap: {
readonly between: "space-between";
readonly around: "space-around";
readonly baseline: "baseline";
readonly start: "flex-start";
readonly end: "flex-end";
readonly center: "center";
readonly stretch: "stretch";
};
export type FlexProps = Omit, keyof R | 'children'> & {
vertical?: StateProp;
loading?: StateProp;
loadingOffset?: StateProp;
align?: keyof typeof alignMap;
justify?: keyof typeof justifyMap;
gap?: number | [number, number];
flex?: number | boolean;
wrap?: boolean;
inline?: boolean;
reverse?: boolean;
element?: string;
padding?: number | [number, number] | [number, number, number] | [number, number, number, number];
} & R;
export declare function Flex({ vertical, align, justify, gap, flex, wrap, inline, reverse, style, padding, element: Element, loading, loadingOffset, ...props }?: FlexProps): any;