import type { InputProps as RcInputProps, InputRef } from 'rc-input'; import React from 'react'; import type { SizeType } from '../config-provider/SizeContext'; import type { InputStatus } from '../_util/statusUtils'; export interface InputFocusOptions extends FocusOptions { cursor?: 'start' | 'end' | 'all'; } export type { InputRef }; export declare function fixControlledValue(value: T): string; export declare function resolveOnChange(target: E, e: React.ChangeEvent | React.MouseEvent | React.CompositionEvent, onChange: undefined | ((event: React.ChangeEvent) => void), targetValue?: string): void; export declare function triggerFocus(element?: HTMLInputElement | HTMLTextAreaElement, option?: InputFocusOptions): void; export interface InputProps extends Omit { size?: SizeType; disabled?: boolean; status?: InputStatus; bordered?: boolean; [key: `data-${string}`]: string | undefined; } declare const Input: React.ForwardRefExoticComponent>; export default Input;