import type { WordPressComponentProps } from '@wordpress/components/build-types/context'; import type { TabsProps } from './types'; /** * Renders tabs infrastructure. * * @param props - Component props. * @returns The component to be rendered. */ declare function InternalTabs(props: WordPressComponentProps): import("react").JSX.Element; /** * Tabs is a collection of React components that combine to render * an [ARIA-compliant tabs pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/). * * Tabs organizes content across different screens, data sets, and interactions. * It has two sections: a list of tabs, and the view to show when a tab is chosen. * * `Tabs` itself is a wrapper component and context provider. * It is responsible for managing the state of the tabs, and rendering one instance of the `Tabs.TabList` component and one or more instances of the `Tab.TabPanel` component. */ declare const Tabs: typeof InternalTabs & { displayName: string; /** * Renders a single tab. * * The currently active tab receives default styling that can be * overridden with CSS targeting `[aria-selected="true"]`. */ Tab: import("react").ForwardRefExoticComponent, HTMLButtonElement>, "ref">, "as" | keyof import("./types").TabProps> & import("react").RefAttributes> & { displayName: string; }; /** * A wrapper component for the `Tab` components. * * It is responsible for rendering the list of tabs. */ TabList: import("react").ForwardRefExoticComponent, HTMLDivElement>, "ref">, "children" | "as"> & { as?: keyof JSX.IntrinsicElements | undefined; } & import("react").RefAttributes> & { displayName: string; }; /** * Renders the content to display for a single tab once that tab is selected. */ TabPanel: import("react").ForwardRefExoticComponent, HTMLDivElement>, "ref">, "as" | keyof import("./types").TabPanelProps> & { as?: keyof JSX.IntrinsicElements | undefined; } & import("react").RefAttributes> & { displayName: string; }; Context: import("react").Context & { displayName: string; }; }; export default Tabs; //# sourceMappingURL=index.d.ts.map