import React from 'react'; import { View, ScrollView } from 'react-native'; import { FullOptions, PartialOptions } from './config'; export declare const scrollIntoView: (scrollView: ScrollView, view: View, scrollY: number, options: PartialOptions) => Promise; declare type GetScrollView = () => ScrollView; declare type GetScrollY = () => number; declare type GetDefaultOptions = () => FullOptions; export declare type ScrollIntoViewDependencies = { getScrollView: GetScrollView; getScrollY: GetScrollY; getDefaultOptions: GetDefaultOptions; }; export declare class ScrollIntoViewAPI { dependencies: ScrollIntoViewDependencies; constructor(dependencies: ScrollIntoViewDependencies); getNormalizedOptions: (options?: PartialOptions) => { insets: { top: number; bottom: number; } | { top: number; bottom: number; }; align: import("./config").Align; animated: boolean; immediate: boolean; computeScrollY: (scrollViewLayout: import("react-native").LayoutRectangle, viewLayout: import("react-native").LayoutRectangle, scrollY: number, insets: import("./config").Insets, align: import("./config").Align) => number; measureElement: (element: number | React.Component | React.ComponentClass | null) => Promise; }; scrollIntoView: (view: View, options?: Partial | undefined) => Promise; scrollIntoViewThrottled: (view: View, options: PartialOptions) => Promise; scrollIntoViewImmediate: (view: View, options: PartialOptions) => Promise; } export {};