import { Operation } from '../../types/asyncapi/Operation'; import { MessageObject } from '../../types/asyncapi/MessageObject'; import { SideBarConfig } from '../../config/config'; export type NavTab = "operations" | "messages" | "schemas"; export type NavSectionId = NavTab | "servers" | "info"; interface AsyncAPINavigationProps { operations?: Record; messages?: Record; schemas?: Record; servers?: Record; /** Whether the Info panel is currently shown: controls only whether its tick appears here, mirroring the Layout's own `show.info` gate. */ hasInfo?: boolean; /** Which section is currently the user's focus, for header highlighting: * a single authoritative value covering all five sections (including * Info and Servers) so at most one header is ever highlighted at once. * Distinct from `onTabChange`, which only fires for the three switchable tabs. */ activeTab: NavSectionId | null; onTabChange: (tab: NavTab) => void; onItemSelect?: (tab: NavTab, key: string) => void; onSelectServer?: (key: string) => void; selectedItem?: { tab: NavSectionId; key: string; } | null; sidebarConfig?: SideBarConfig; } export default function AsyncAPINavigation({ operations, messages, schemas, servers, hasInfo, activeTab, onTabChange, onItemSelect, onSelectServer, selectedItem, sidebarConfig, }: AsyncAPINavigationProps): import("react").JSX.Element; export {};