import { default as React } from 'react'; import { AsChildProps, PolymorphicPropsWithRef } from '../../utilities/index.js'; declare const staticSpacingTokens: { 0: string; 2: string; 4: string; 8: string; 12: string; 16: string; 24: string; 32: string; 40: string; 64: string; 104: string; 168: string; none: string; "2xs": string; xs: string; s: string; m: string; l: string; xl: string; "2xl": string; }; type Spacing = keyof typeof staticSpacingTokens; type SpacingValue = `${Spacing}`; export type Gap = Spacing | SpacingValue | `${SpacingValue} ${SpacingValue}`; type FlexBaseProps = { alignItems?: "normal" | "start" | "center" | "end" | "baseline" | "stretch"; alignContent?: "normal" | "start" | "center" | "end" | "stretch" | "baseline" | "space-between" | "space-around" | "space-evenly"; direction?: "row" | "row-reverse" | "column" | "column-reverse"; gap?: Gap; justifyContent?: "normal" | "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly"; /** * Om elementene skal brytes over flere linjer. * `true`/`false` setter `wrap`/`nowrap`, `"reverse"` som kortform for * `"wrap-reverse"`. */ wrap?: boolean | "wrap" | "nowrap" | "reverse"; }; export type FlexProps = PolymorphicPropsWithRef & AsChildProps; export type FlexComponent = (props: FlexProps) => React.ReactElement | null; export {};