import { default as React } from 'react'; import { SafeOmit, SafePick } from '../../../.deps/utils/src'; import { FieldProps } from '../../Field/Field'; import { FieldHelperTextProps } from '../../Field/FieldHelperText'; import { FieldLabelProps } from '../../Field/FieldLabel'; import { TextInputProps } from '../../Inputs/TextInput/TextInput'; import { LabelAfterProps } from '../../LabelAfter/LabelAfter'; /** @inheritdoc */ export interface TextFieldProps extends SafePick, SafePick, SafeOmit, SafePick { /** * Label for the input element. */ label: string; /** * Visually hide the label. */ labelHidden?: FieldLabelProps['visuallyHidden']; /** * Addon to the right of the input. * * **INTERNAL USE ONLY:** It is unsafe to rely on this prop, as it may change or be removed in the future. * @internal */ UNSAFE_addon?: React.ReactNode; /** * Label displayed after the input element. */ labelAfter?: LabelAfterProps['label']; /** * Display loading indicator. */ loading?: boolean; } export declare const TextField: React.FC;