/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import type { ColProps } from '../../grid/component/col'; import type { ValidateStatus } from './FormItem'; import { TooltipProps } from '../../tooltip/ToolTip'; interface FormItemInputMiscProps { isTooltipError?: boolean; tooltipMessageProps?: Omit; prefixCls: string; children: React.ReactNode; errors: React.ReactNode[]; hasFeedback?: boolean; validateStatus?: ValidateStatus; warnings: React.ReactNode[]; marginBottom?: number | null; onDomErrorVisibleChange: (visible: boolean) => void; _internalItemRender?: { mark: string; render: (props: FormItemInputProps & FormItemInputMiscProps, domList: { input: JSX.Element; errorList: JSX.Element | null; extra: JSX.Element | null; }) => React.ReactNode; }; } export interface FormItemInputProps { wrapperCol?: ColProps; help?: React.ReactNode; extra?: React.ReactNode; status?: ValidateStatus; } declare const FormItemInput: React.FC; export default FormItemInput;