import * as React from 'react'; import { TextInput } from 'react-native'; import type { FieldRoot } from '../root/FieldRoot'; import type { ZestUIComponentProps } from '../../types'; /** * The field's text input. * Renders a ``. */ export declare function FieldControl(componentProps: FieldControl.Props): React.ReactElement>; export interface FieldControlState extends FieldRoot.State { } export interface FieldControlProps 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 FieldControl { type State = FieldControlState; type Props = FieldControlProps; } //# sourceMappingURL=FieldControl.d.ts.map