import * as React from "react"; import type { HBScrollerProps } from "./HBScroller"; import type { TabItem, TabPageProps, TopTabItemRenderProps, TopTabsProps } from "./TopTabs"; export type TabViewTopTabsProps = Omit; export type TabViewScrollerProps = Omit; export interface TabViewProps { /** Tab definitions (shared between TopTabs and HBScroller) */ tabs: TabItem[]; /** Width of the tab bar and each page (default: screen width) */ width?: number; /** The tab to display on first mount — synced between TopTabs & HBScroller (default: 0) */ initialTabIndex?: number; /** Customisation props forwarded to TopTabs */ topTabsProps?: TabViewTopTabsProps; /** Customisation props forwarded to HBScroller */ scrollerProps?: TabViewScrollerProps; } export type { TabItem, TabPageProps, TopTabItemRenderProps }; /** * A pre‑wired combination of `TopTabs` + `HBScroller` that keeps shared * props (`tabs`, `width`, `initialTabIndex`) in sync between both children * without extra `useEffect` calls. * * All visual/behavioural customisation for the tab bar and scroller is still * available via `topTabsProps` and `scrollerProps`. */ declare const TabView: React.FC; export default TabView; //# sourceMappingURL=index.d.ts.map