import React, { type PropsWithChildren, type RefObject } from 'react'; import Animated, { type AnimatedRef, type AnimatedScrollViewProps, type SharedValue } from 'react-native-reanimated'; import { TextInput, type ScrollViewProps, type TextInputProps, View, type ViewStyle } from 'react-native'; export type RefType = TextInput | View | Animated.View | null; export type Elements = Record; export type InputType = Record>; export default function SmartScrollView(props: PropsWithChildren<{}> & { wrapperStyle?: ViewStyle; }): React.JSX.Element; export declare const useSmartScrollContext: () => { scrollRef: AnimatedRef; scrollY: SharedValue; isReady: boolean; wrapperRef: RefObject; wrapperOffset: number; setWrapperOffset: React.Dispatch>; elements: Elements; setElements: React.Dispatch>; inputs: InputType; setInputs: React.Dispatch>; currentFocus?: { isFocus: boolean; position: number; height: number; name: string; } | null | undefined; clearFocus: () => void; }; export declare const ScrollView: ({ wrapperStyle, ...rest }: PropsWithChildren<{ scrollViewProps?: AnimatedScrollViewProps; additionalPadding?: number; wrapperStyle?: ViewStyle; }>) => React.JSX.Element; export declare function useFormSmartScroll({ padding, }?: { padding?: number; }): { onFocus: (name: string) => void; onBlur: (name: string) => void; registerInput: (name: string, ref: RefObject) => void; chainInput: (name: string) => void; translateStyle: { transform: { translateY: number; }[]; }; scrollRef: AnimatedRef; baseScrollViewProps: ScrollViewProps; baseTextInputProps: (name: string, params: { onFocus?: TextInputProps['onFocus']; onBlur?: TextInputProps['onBlur']; }) => TextInputProps; currentFocus: string | undefined; isReady: boolean; scrollHandler: import("react-native-reanimated").ScrollHandlerProcessed>; }; //# sourceMappingURL=Provider.d.ts.map