import * as React from 'react'; import { TextInput } from 'react-native'; import type { ZestUIComponentProps } from '../types'; /** * A text input. Renders a ``. * * Upstream's `Input` is an alias for `Field.Control`. Here it is the same: use * it standalone, or inside a `Field.Root` to pick up its label, description, * error wiring, and validation automatically. */ export declare function Input(componentProps: Input.Props): React.ReactElement>; export interface InputState { /** * Whether the input is disabled (inherited from a surrounding field). */ disabled: boolean; } export interface InputProps extends Omit, 'value'> { /** * The controlled text value. */ value?: string | undefined; /** * The initial text value when uncontrolled. */ defaultValue?: string | undefined; /** * Called with the new text as it changes. */ onValueChange?: ((value: string) => void) | undefined; } export declare namespace Input { type State = InputState; type Props = InputProps; } //# sourceMappingURL=Input.d.ts.map