import type { NavItem, ResolvedNavItem } from '@redocly/config'; /** A sidebars.yaml entry as core passes it to `getSidebar`: `icon` is the resolved path, or `undefined` * with the resolved `srcSet` when the entry's icon is an `icon.srcSet` object. */ export type SidebarEntry = NavItem & { srcSet?: string; }; /** Puts the sidebars.yaml entry's label, icon and badges on the API root item, as core does for a page. */ export declare function applyNavItemToRoot(items: ResolvedNavItem[], basePath: string, entry?: SidebarEntry): ResolvedNavItem[]; //# sourceMappingURL=apply-nav-item-to-root.d.ts.map