import * as React from 'react'; import { type FormValidityHandle, type FormValidityStateView } from '../utils/formControl.cjs'; import type { TextFieldContextValue, TextFieldProps } from './types.cjs'; export declare const TextFieldProvider: React.FC, useTextFieldContext: (consumerName: string) => TextFieldContextValue; /** * Root of a text field: owns value/disabled/invalid/required state and hands it down via context, participating in `
` when given `name`. * * @example * ```tsx * * * * * * * * ``` */ export declare const TextField: { ({ disabled, invalid, required, value: valueProp, defaultValue, onValueChange, name, form, clearable, clearLabel, leading, trailing, placeholder, type, readOnly, children, id, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-labelledby": ariaLabelledBy, ref: forwardedRef, size, variant, ...props }: Omit & { ref?: React.Ref | undefined; }): React.ReactNode; displayName: string; };