import React from 'react'; import type { StyleProp, ViewProps, ViewStyle } from 'react-native'; import type { TabType } from '..'; export interface ScrollableTabHeaderProps extends ViewProps { /** * Callback which is called on tab press, receiving key of upcoming active Tab. */ onTabPress: (key: string) => void; /** * Current selected tab key. */ selectedIndex?: number; /** * List of Tabs to be rendered. Each Tab must have an unique key. */ tabs: TabType[]; /** * Style for the tab navigation bar. */ barStyle?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * component insets */ insets?: { top: number; bottom: number; right: number; left: number; }; /** * Variant of the tab header */ variant?: 'underlined' | 'highlighted'; } declare const ScrollableTabHeader: ({ onTabPress, selectedIndex, tabs, barStyle, testID, insets, variant, }: ScrollableTabHeaderProps) => React.JSX.Element; export default ScrollableTabHeader;