import * as React from 'react'; import { BoxProps } from '../box'; import TabPane from './pane/TabPane'; export type TabBarProps = BoxProps & { children: React.ReactElement[] | React.ReactElement; defaultTab: string; onChange?: (tabId: string) => void; sideContent?: React.ReactNode; }; type SubComponents = { Pane: typeof TabPane; }; declare const TabBar: React.FC & SubComponents; export default TabBar;