/** * 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<<2a2474f9ffeb2f444daca4629c021f62>> * * 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 | undefined; 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 | undefined; }> & { ref?: React.Ref | undefined; }) => React.ReactNode; declare const $$ScrollViewStickyHeader: typeof ScrollViewStickyHeader; declare type $$ScrollViewStickyHeader = typeof $$ScrollViewStickyHeader; export default $$ScrollViewStickyHeader;