/** @jsxRuntime classic */ /** @jsx jsx */ /** * TODO * * - Support icons in the input (search, etc) */ import { type InputHTMLAttributes } from 'react'; import type { ShapeType, SizeType, WidthType } from "./types.js"; declare const validTypes: { email: string; number: string; password: string; search: string; tel: string; text: string; url: string; }; type InputProps = InputHTMLAttributes; export type TextInputProps = { invalid?: boolean; shape?: ShapeType; size?: SizeType; width?: WidthType; type?: keyof typeof validTypes; onChange?: NonNullable; value?: NonNullable; } & Omit; export declare const TextInput: import("react").ForwardRefExoticComponent<{ invalid?: boolean; shape?: ShapeType; size?: SizeType; width?: WidthType; type?: keyof typeof validTypes; onChange?: NonNullable; value?: NonNullable; } & Omit & import("react").RefAttributes>; export {}; //# sourceMappingURL=TextInput.d.ts.map