import { ReactNode, ReactElement } from 'react'; import { CommonProps } from '../common'; export interface SubTabsProps extends Omit { /** * Unique identifier for SubTabs container. This will be combined with the id of each SubTab child to generate ARIA accessibility attributes. */ id: string; onChange: (tabId: string | number) => void; /** * Whether inactive tab panels should be removed from the DOM and unmounted in React. */ renderActiveTabPanelOnly?: boolean; /** * Current selected tab id. */ selectedTabId: string | number; /** * List of Tab to be rendered. Each Tab must have an unquie id. */ tabs: { disabled?: boolean; id: string | number; panel: ReactNode; title: string; }[]; } declare const SubTabs: ({ onChange, renderActiveTabPanelOnly, selectedTabId, tabs, id, className, style, sx, "data-test-id": dataTestId, }: SubTabsProps) => ReactElement; export default SubTabs;