import { ElementType } from 'react'; import { SegmentedButtonProps } from './SegmentedButton.js'; export type TabProps = Omit, 'active'> & { /** Identifies this tab. Matched against the `Tabs` selected value. */ value: string; }; /** Shape of `Tab` defaults that can be supplied via `CladdProvider`'s `defaults` prop. */ export type TabDefaultProps = Partial & { value?: never; }>; /** * A single tab. Renders a `SegmentedButton`, deriving its `active` look from the surrounding `Tabs` selection and wiring the click - so you never manage the selected state yourself. * * Stays a real focusable control (unlike a `readOnly` active `SegmentedButton`) so the tablist roving-focus pattern works. * * Polymorphic via `as` - `` keeps the automatic active styling while rendering a link. */ export declare const Tab: (props: TabProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Tab.d.ts.map