import * as React from "react"; import { ViewProps, StyleProp, ViewStyle, ViewabilityConfig, type FlatListProps } from "react-native"; import { TabItem } from "./TopTabs"; export interface HBScrollerProps extends ViewProps { /** Array of tab items to render horizontally */ tabs: TabItem[]; /** Width of each tab page (default: screen width) */ width?: number; /** Enable optimised viewable-item loading with getItemLayout (default: true) */ enableLoadOnViewableItems?: boolean; /** Extra props forwarded to the inner horizontal FlatList */ flatListProps?: Partial>; /** Style applied to the outer container View */ containerStyle?: StyleProp; /** How many tabs to render on the initial mount (default: 1) */ initialNumToRender?: number; /** Snap alignment for paging (default: "center") */ snapToAlignment?: "start" | "center" | "end"; /** Deceleration rate after the user lifts their finger (default: "fast") */ decelerationRate?: "normal" | "fast" | number; /** Prevent the scroll view from overshooting snap points (default: true) */ disableIntervalMomentum?: boolean; /** Show the horizontal scroll indicator (default: false) */ showsHorizontalScrollIndicator?: boolean; /** Viewability configuration for determining when a tab is "visible" */ viewabilityConfig?: ViewabilityConfig; /** Callback fired when the visible tab changes – receives the new index */ onActiveTabChange?: (index: number) => void; /** Initial tab index to display (default: 0) */ initialTabIndex?: number; } declare const HBScroller: React.FC; export default HBScroller; //# sourceMappingURL=HBScroller.d.ts.map