/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<> * * This file was translated from Flow by scripts/js-api/build-types/index.js. * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js */ import type { LayoutChangeEvent } from "../../Types/CoreEventTypes"; import Animated from "../../Animated/Animated"; import * as React from "react"; export type ScrollViewStickyHeaderProps = Readonly<{ children?: React.ReactNode; nextHeaderLayoutY: number | undefined; onLayout: (event: LayoutChangeEvent) => void; scrollAnimatedValue: Animated.Value; inverted: boolean | undefined; scrollViewHeight: number | undefined; nativeID?: string | undefined; hiddenOnScroll?: boolean | undefined; }>; interface Instance extends React.ElementRef { readonly setNextHeaderY: ($$PARAM_0$$: number) => void; } declare const ScrollViewStickyHeader: (props: Omit; }> & { ref?: React.Ref; }) => React.ReactNode; declare const $$ScrollViewStickyHeader: typeof ScrollViewStickyHeader; declare type $$ScrollViewStickyHeader = typeof $$ScrollViewStickyHeader; export default $$ScrollViewStickyHeader;