import { ReactNode } from "react";
import * as PageTree from "fumadocs-core/page-tree";

//#region src/components/sidebar/tabs/index.d.ts
interface SidebarTab {
  /**
   * Redirect URL of the folder, usually the index page
   */
  url: string;
  icon?: ReactNode;
  title: ReactNode;
  description?: ReactNode;
  /**
   * Detect from a list of urls
   */
  urls?: Set<string>;
  unlisted?: boolean;
}
interface GetSidebarTabsOptions {
  transform?: (option: SidebarTab, node: PageTree.Folder) => SidebarTab | null;
}
declare function getSidebarTabs(tree: PageTree.Root, {
  transform
}?: GetSidebarTabsOptions): SidebarTab[];
//#endregion
export { GetSidebarTabsOptions, SidebarTab, getSidebarTabs };
//# sourceMappingURL=index.d.ts.map