import { InputHTMLAttributes } from "react"; import { TextInputProps } from "../shared.js"; export type TextFieldProps = TextInputProps & Omit, "placeholder" | "value" | "type"> & { /** * Input type * @default text */ type?: "email" | "search" | "tel" | "text" | "url" | "password" | "number" | "date" | "time"; }; /** A text field is an input that allows a user to write or edit text. Text fields typically appear in forms and dialogs. This single line variant displays only one line of text, and is used to allow the user to provide text input when the expected input is short. For longer input, use the multi-line text field or text area instead. In addition to the attributes listed here, it also accepts the [same attributes as the HTML input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes). _Accessibility note:_ The leading/trailing icon and prefix/suffix text will not be read by screen readers. If they are used, you must ensure the label and helper text in combination adequately describe the field without them. */ export declare const TextField: import("react").ForwardRefExoticComponent, "value" | "type" | "placeholder"> & { /** * Input type * @default text */ type?: "email" | "search" | "tel" | "text" | "url" | "password" | "number" | "date" | "time"; } & import("react").RefAttributes>; //# sourceMappingURL=TextField.d.ts.map