import * as React from 'react'; import { TabsContextValue } from './TabsContext'; import { CompoundComponentContextValue } from '../../useCompound'; export type TabPanelMetadata = { id: string | undefined; ref: React.RefObject; }; export type TabsProviderValue = CompoundComponentContextValue & TabsContextValue; export interface TabsProviderProps { value: TabsProviderValue; children: React.ReactNode; } /** * Sets up the contexts for the underlying Tab and TabPanel components. * * @ignore - do not document. */ declare function TabsProvider(props: TabsProviderProps): React.JSX.Element; declare namespace TabsProvider { var propTypes: any; } export { TabsProvider };