import * as React from 'react'; import type { Control, FieldValues, Path, RegisterOptions } from 'react-hook-form'; import type { TextInputProps } from 'react-native'; import { TextInput as NTextInput } from 'react-native'; export interface NInputProps extends TextInputProps { label?: string; disabled?: boolean; error?: string; } type TRule = Omit, 'disabled' | 'valueAsNumber' | 'valueAsDate' | 'setValueAs'> | undefined; export type RuleType = { [name in keyof T]: TRule; }; export type InputControllerType = { name: Path; control: Control; rules?: RuleType; }; interface ControlledInputProps extends NInputProps, InputControllerType { } export declare const Input: React.ForwardRefExoticComponent>; export declare function ControlledInput(props: ControlledInputProps): React.JSX.Element; export {}; //# sourceMappingURL=input.d.ts.map