import { default as React } from 'react'; import { FormLayoutColumns } from './constants'; import { FormSize } from '../../constants'; export interface FormLayoutProps { /** The max number of columns that will exist if space is available */ maxColumns?: keyof typeof FormLayoutColumns; /** Sets the minimum width for the columns in pixels - this determines how many will fit on a row */ colMinWidth?: number; /** Items in the FormLayout component */ children?: React.ReactNode; /** Changes the visuals of the formgroup */ size?: keyof typeof FormSize; /** Adds custom classes to the element. */ className?: string; /** Sets the data-testid attribute. */ testId?: string; /** Function that helps map the form children */ mapHelper?: (child: React.ReactNode, index: number) => React.ReactNode; /** Ref passed to the root div */ ref?: React.Ref; } export declare const FormLayout: React.FC; export default FormLayout;