import * as React from 'react'; import { TypographyContextVariant, TypographyVisualStyle } from '../Typography'; export interface FormProps extends React.FormHTMLAttributes { /** * @children required */ children: React.ReactNode; /** * React Node containing the form action buttons; will appear under the form fields */ actions: React.ReactNode; /** * General description of the form */ description?: string; /** * Additional form level validation message */ errorMessage?: string; /** * Title of the form */ header: string; /** * Additional styles to the form heading for typography based on the context of the content * @default TypographyColor.default */ headingContextVariant?: TypographyContextVariant; /** * Number to indicate which level heading will render for the form header (e.g. h1, h2 etc.) * @default 3 */ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6; /** * Applies visual styles to the form heading including font-size, font-weight, line-height and margins */ headingVisualStyle?: TypographyVisualStyle; isInverse?: boolean; /** * @internal */ testId?: string; } export declare const Form: React.ForwardRefExoticComponent>;