/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { InputHTMLAttributes } from 'react'; export declare const textInputTypes: readonly ["email", "tel", "text", "url"]; type TextInputType = (typeof textInputTypes)[number]; export type TextInputProps = { /** Whether the value fails a validation rule. */ readonly invalid?: boolean; /** The kind of data that the user should provide. */ readonly type?: TextInputType; } & Readonly, 'aria-invalid'>>; /** * A form field in which a user can enter text. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-input--docs Text Input docs at Amsterdam Design System} */ export declare const TextInput: import("react").ForwardRefExoticComponent<{ /** Whether the value fails a validation rule. */ readonly invalid?: boolean; /** The kind of data that the user should provide. */ readonly type?: TextInputType; } & Readonly, "aria-invalid">> & import("react").RefAttributes>; export {};