import { Item, MenuItem, PageItem, PageTheme } from 'nextra/normalize-pages'; import { FC, ReactNode } from 'react'; import { MdxFile } from 'nextra/types'; declare const Navbar: FC; interface NavBarProperties { activeType: string; flatDirectories: Item[]; items: (MenuItem | PageItem)[]; themeContext: PageTheme; } declare module "nextra/normalize-pages" { export type PageTheme = PageTheme & { prose?: boolean; }; export interface Item extends MdxFile { children?: Item[]; description?: string; display?: "children" | "hidden" | "normal"; isUnderCurrentDocsTree?: boolean; theme?: PageTheme; title: string; type: string; withIndexPage?: boolean; } } interface SearchResult { children: ReactNode; id: string; prefix?: ReactNode; route: string; } type ActiveType = string | "doc" | "hidden" | "page"; export { type ActiveType as A, Navbar as N, type SearchResult as S, type NavBarProperties as a };