import * as React from 'react'; import { TextInput, type NativeSyntheticEvent, type TextInputSelectionChangeEventData } from 'react-native'; import type { OTPInputProps, RenderProps } from './types'; export declare function useInput({ onChange: _onChange, maxLength, pattern, placeholder, defaultValue, onComplete, pasteTransformer, }: Pick): { inputRef: React.RefObject; contextValue: RenderProps; value: string; isFocused: boolean; handlers: { onChangeText: (text: string) => void; onFocus: () => void; onBlur: () => void; onSelectionChange: (e: NativeSyntheticEvent) => void; }; actions: { clear: () => void; focus: () => void; focusSlot: (index: number) => void; }; }; //# sourceMappingURL=use-input.d.ts.map