import type { PropsWithChildren, ReactNode, RefObject } from 'react'; import type { PressableProps, StyleProp, TextInput, TextInputProps, TextStyle, ViewProps, ViewStyle } from 'react-native'; export type TextInputOTPContextProps = { code: string; currentIndex: number; inputRef: RefObject; handleChangeText: (text: string) => void; handlePress: () => void; setValue: (text: string) => void; focus: () => void; blur: () => void; clear: () => void; caretHidden: boolean; caretColor?: string; }; export type TextInputOTPProviderProps = PropsWithChildren>; export type TextInputOTPGroupProps = { groupStyles?: StyleProp; } & Omit; export type TextInputOTPRef = { setValue: (text: string) => void; focus: () => void; blur: () => void; clear: () => void; }; export type TextInputOTPSeparatorProps = { separatorStyles?: StyleProp; } & Omit; export type TextInputOTPSlotProps = { index: number; focusedSlotStyles?: StyleProp; slotStyles?: StyleProp; focusedSlotTextStyles?: StyleProp; slotTextStyles?: StyleProp; } & PressableProps; export type TextInputOTPSlotInternalProps = { isFirst?: boolean; isLast?: boolean; }; export type UseSlotBorderStylesProps = { isFocused: boolean; isFirst?: boolean; isLast?: boolean; }; export type TextInputOTPProps = { children: ReactNode; autoFocus?: boolean; maxLength: number; onFilled?: (text: string) => void; containerStyles?: StyleProp; caretColor?: string; } & Omit; //# sourceMappingURL=types.d.ts.map