import { type ComponentProps, type ReactElement, type ReactNode } from 'react'; import { TabList } from '../TabList'; import { TabItem } from '../TabItem'; import { TabPanel } from '../TabPanel'; type TabListElement = ReactElement, typeof TabList>; type TabElement = ReactElement, typeof TabItem>; type TabPanelElement = ReactElement, typeof TabPanel>; /** * Extracts the data from the children of the Tabs component. * * @param children - The children of the Tabs component. * * @returns The extracted data from the children. */ export declare function useDataFromChildren(children: ReactNode): { tabList: TabListElement[]; tabPanels: TabPanelElement[]; tabs: TabElement[]; tabsProps: import("..").TabItemProps[]; }; export {};