import type { ITouchEvent } from "@tarojs/components"; import type { BaseEventOrig } from "@tarojs/components/types/common"; import type { InputProps as TaroInputProps } from "@tarojs/components/types/Input"; import { type ReactNode } from "react"; import type { InputAlign, InputClearTrigger, InputColor } from "./input.shared"; export declare function resolveOnChange(e: BaseEventOrig, onChange: undefined | ((event: BaseEventOrig) => void), detailValue?: string): void; export interface InputProps extends TaroInputProps { placeholderClassName?: string; readonly?: boolean; align?: InputAlign; color?: InputColor; clearable?: boolean; clearIcon?: ReactNode; clearTrigger?: InputClearTrigger; onClear?(event: ITouchEvent): void; onChange?(event: BaseEventOrig): void; } declare function Input(props: InputProps): JSX.Element; export default Input;