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