import type { FC, ReactNode } from "react"; export type FlexGridDirection = "row" | "column"; export type FlexGridAlignment = "leading" | "trailing" | "center" | "fill" | "baseline"; export type FlexGridDistribution = "equalSpacing" | "leading" | "trailing" | "center" | "fill" | "fillEvenly"; export type FlexGridSpacing = "none" | "sm" | "md" | "lg" | "xl"; export interface FlexGridProps { /** @ignore */ className?: string; /** * Define which direction the content should flow. * @default row */ direction?: FlexGridDirection; /** * Define whether or not the contents be allowed to wrap. * @default false */ wrap?: boolean; /** * Define whether or not the content be wrapped in an inline-flex container. * @default false */ inline?: boolean; /** * Define the alignment of the content. * @default leading */ alignment?: FlexGridAlignment; /** * Define the distribution of the content. * @default leading */ distribution?: FlexGridDistribution; /** * The spacing directly corelates to our Tailwind spacing scale. * * none: `spacing.0 → 0px` * * sm: `spacing.2 → 8px` * * md: `spacing.4 → 16px` * * lg: `spacing.6 → 24px` * * xl: `spacing.8 → 32px` */ spacing?: FlexGridSpacing; /** * The content of the `FlexGrid`. */ children: ReactNode; } /** * The `FlexGrid` component is a wrapper component that allows you to easily create a flexbox layout. * * See the [Flex Grid documentation page](https://satellite.algolia.com/8261d6576/p/44fc1d-flex-grid) for more information. */ export declare const FlexGrid: FC;