import { ReactElement, ReactNode, Ref } from "react"; export interface PanelType { disabled?: boolean; elementType?: ReactElement["type"]; index?: number; key: string; panelId: string; props?: Record; ref?: Ref; tabId: string; } export interface TabType { disabled?: boolean; elementType?: ReactElement["type"]; index?: number; key: string; panelId: string; props?: Record; ref?: Ref; tabId: string; } export declare class TabsBuilder { private rootId; constructor(rootId: string); build(children: ReactNode): [TabType[], PanelType[]]; private makeId; } export declare function useTabsItems(children: ReactNode, rootId: string): [TabType[], PanelType[]];