import { ReactNode } from "react"; import { TextInput } from "react-native"; import { IOColors } from "../../core"; import { RNTextInputProps } from "../../utils/textInput"; import { InputType, WithTestID } from "../../utils/types"; import { IOIcons } from "../icons"; type InputStatus = "initial" | "focused" | "disabled" | "error"; type InputTextProps = WithTestID<{ placeholder: string; value: string; onChangeText: (value: string) => void; accessibilityLabel?: string; accessibilityHint?: string; textInputProps?: RNTextInputProps; inputType?: InputType; status?: InputStatus; icon?: IOIcons; rightElement?: ReactNode; counterLimit?: number; showCounterOnlyWhenLimitReached?: boolean; accessibilityAnnounceLimitReached?: string; bottomMessage?: string; bottomMessageColor?: IOColors; disabled?: boolean; isPassword?: boolean; onBlur?: () => void; onFocus?: () => void; /** * Optional external ref to the underlying React Native `TextInput`. When * provided, the consumer can imperatively call `focus()` / `blur()` on the * input. Useful to work around autoFocus issues on React Navigation v7. */ inputRef?: React.RefObject; }>; export declare const TextInputBase: ({ disabled, placeholder, value, onChangeText, accessibilityLabel, accessibilityHint, textInputProps, inputType, status, icon, rightElement, counterLimit, showCounterOnlyWhenLimitReached, accessibilityAnnounceLimitReached, bottomMessage, bottomMessageColor, onBlur, onFocus, isPassword, inputRef: externalInputRef, testID }: InputTextProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=TextInputBase.d.ts.map