import { Context } from 'react'; import { TextInputProps, TextInputContextValue } from './text-input.types'; declare const TextInputComponent: { (props: TextInputProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * ### TextInput * * An input component that takes in text as input * * @see {@link https://nimbus-documentation.vercel.app/components/inputs/textinput} */ export declare const TextInput: typeof TextInputComponent & { /** * ### TextInput.Context * * Re-exports React-Aria's `InputContext` with extended type support * * Accepts both React Aria props (isDisabled, isRequired, etc.) and * DOM attributes (disabled, required, etc.) for maximum flexibility. * * For advanced use cases, **you generally will not need this** * * @see {@link https://react-spectrum.adobe.com/react-aria/advanced.html#contexts} * @see {@link https://react-spectrum.adobe.com/react-aria/TextField.html#custom-children} */ Context: Context; }; export {};