import * as react from 'react'; import { ReactNode, ComponentProps } from 'react'; import { InternalProps, StyledComponentProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../styling/src/BreakpointProvider.js'; import 'react/jsx-runtime'; declare const FieldMessageDefaultElement = "div"; interface SharedFieldMessageProps extends InternalProps, StyledComponentProps { /** * React children. */ children: ReactNode; /** * Whether or not the field take up the width of its container. */ fluid?: ResponsiveProp; } interface InnerFieldMessageProps extends Omit { /** * The style to use. */ variant: "neutral" | "success" | "error"; } declare function getValidationProps(validationState: string): { isError: boolean; isHelp: boolean; isValid: boolean; }; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/field--input) */ declare const FieldMessage: react.ForwardRefExoticComponent & react.RefAttributes>; type FieldMessageProps = ComponentProps; export { FieldMessage, FieldMessageDefaultElement, type FieldMessageProps, type InnerFieldMessageProps, type SharedFieldMessageProps, getValidationProps };