import * as React from "react"; import type { StyleType } from "@khanacademy/wonder-blocks-core"; type Props = { value: string | number | null; onChange: (arg1?: any) => void; className?: string; labelText?: string; onFocus?: () => void; onBlur?: () => void; disabled?: boolean; id?: string; placeholder?: string; onKeyDown?: () => void; style?: StyleType; "aria-describedby"?: string; }; type DefaultProps = { value: Props["value"]; disabled: Props["disabled"]; }; declare class TextInput extends React.Component { inputRef: React.RefObject; static defaultProps: DefaultProps; id: string; constructor(props: Props); _getInput: () => HTMLInputElement; focus: () => void; blur: () => void; getValue: () => string | null | undefined; getStringValue: () => string | null | undefined; setSelectionRange: (arg1: number, arg2: number) => void; getSelectionStart: () => number | null; getSelectionEnd: () => number | null; render(): React.ReactNode; } export default TextInput;