import * as react from 'react'; import { ReactNode, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { InternalProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import { TabsOrientation, TabsVariant } from './TabsContext.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../styling/src/BreakpointProvider.js'; declare const DefaultElement = "div"; interface InnerTabsProps extends InternalProps, Omit, "autoFocus"> { /** * See [WCAG](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html). */ "aria-label": string; /** * Whether or not the first focusable tab should autoFocus on render. */ autoFocus?: boolean | number; /** * React children. */ children: ReactNode; /** * Whether or not the tabs could collapsed to fit into the available space. */ collapsible?: boolean; /** * The initial value of `selectedKey` when uncontrolled. */ defaultSelectedKey?: string; /** * Whether or not the tabs take up the width of the container. */ fluid?: ResponsiveProp; /** * Whether or not keyboard navigation changes focus between tabs but doesn't activate it. */ manual?: boolean; /** * Called when the selected tab change. * @param {SyntheticEvent} event - React's original event. * @param {string} key - The selected tab key. * @returns {void} */ onSelectionChange?: (event: SyntheticEvent, key: string) => void; /** * The orientation of the tabs elements. */ orientation?: ResponsiveProp; /** * A controlled selected key. */ selectedKey?: string | null; /** * The tabs style to use. */ variant?: TabsVariant; } declare function InnerTabs({ "aria-label": ariaLabel, as, autoFocus, children, collapsible, defaultSelectedKey, fluid, forwardedRef, id, manual, onSelectionChange, orientation, selectedKey: selectedKeyProp, variant, ...rest }: InnerTabsProps): react_jsx_runtime.JSX.Element; declare namespace InnerTabs { var defaultElement: string; } /** * Tabs are used to organize content by grouping similar information on the same page. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/tabs--default-story) */ declare const Tabs: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type TabsProps = ComponentProps; export { InnerTabs, type InnerTabsProps, Tabs, type TabsProps };