import { type RefObject } from 'react'; import type { TextInput, View } from 'react-native'; import Animated from 'react-native-reanimated'; import AnimatedView from 'react-native-reanimated'; import type { ScrollViewProps } from 'react-native'; import type { TextInputProps } from 'react-native'; interface FormType { [name: string]: any; } interface Props { padding?: number; } export type RefType = TextInput | View | AnimatedView.View | null; export declare const useFormSmartScroll: ({ padding, }?: Props) => { onFocus: (name: keyof T) => () => void; onBlur: (name: keyof T) => () => void; registerElement: (name: keyof T) => (ref: RefType) => void; registerInput: (name: keyof T) => (ref: RefObject) => void; chainInput: (name: keyof T) => void; translateStyle: { transform: { translateY: number; }[]; }; scrollHandler: import("react-native-reanimated").ScrollHandlerProcessed>; scrollRef: import("react-native-reanimated").AnimatedRef; baseScrollViewProps: ScrollViewProps; baseTextInputProps: (name: keyof T) => TextInputProps; }; export {}; //# sourceMappingURL=useFormSmartScroll.d.ts.map