import { type ReactNode } from "react"; import type { TabDescriptor } from "./TabsTypes"; export interface TabsHookProps { activeTabIndex?: number | null; children: ReactNode; defaultActiveTabIndex?: number; id?: string; onActiveChange?: (tabIndex: number) => void; } export interface TabsHookResult { activeTabIndex?: number | null; id: string; onActiveChange?: (tabIndex: number) => void; tabPanel?: ReactNode; tabs: TabDescriptor[]; } export declare const useTabs: ({ activeTabIndex: activeTabIndexProp, children, defaultActiveTabIndex, id: idProp, onActiveChange, }: TabsHookProps) => TabsHookResult;