import React from 'react'; import type { NavTabItem } from './NavTabList'; import { type ResolvableContextAction } from '../context-actions'; interface NavTabProps { tab: NavTabItem; onSelect: (key: string) => void; onClose?: (key: string) => void; isActive: boolean; activeRef: React.RefObject; index: number; isDraggable: boolean; contextActions?: ResolvableContextAction | ResolvableContextAction[]; /** * Optional render function to render content after the tab title. * * @param tab The tab to render content for * @returns The content to render after the tab title */ renderAfterTabContent?: (tab: NavTabItem) => React.ReactNode; } declare const NavTab: React.MemoExoticComponent<({ tab, onClose, onSelect, isActive, activeRef, index, isDraggable, contextActions, renderAfterTabContent, }: NavTabProps) => import("react/jsx-runtime").JSX.Element>; export default NavTab; //# sourceMappingURL=NavTab.d.ts.map