import React from "react"; import type { Tab } from "../Tabs/-types"; type SecondaryNavItemBase = Pick; /** * Each item accepts `label`, `isActive`, and any extra props that should be * forwarded to the rendered element (e.g. `href`, `to`, `onClick`, `as`). */ export type SecondaryNavItem = SecondaryNavItemBase & { as?: React.ElementType; to?: string; href?: string; target?: React.HTMLAttributeAnchorTarget; ref?: React.Ref; [key: string]: unknown; }; export type SecondaryNavProps = { "aria-label": string; items: SecondaryNavItem[]; /** When provided, the item at this index is marked as active. */ activeIndex?: number; /** Callback fired when any nav item is clicked, receiving the item and its index. */ onNavClick?: (item: SecondaryNavItem, index: number) => void; }; export declare function SecondaryNav({ "aria-label": ariaLabel, items, activeIndex, onNavClick, ...ariaAttributes }: SecondaryNavProps): React.ReactElement; export {};