import { PageTree } from 'fumadocs-core/server'; import { HTMLAttributes, ReactNode } from 'react'; import { S as SidebarProps } from '../sidebar-HwpSmOKR.js'; import { B as BaseLayoutProps } from '../shared-ElIzX-sQ.js'; export { L as LinkItemType } from '../shared-ElIzX-sQ.js'; import { Option } from '../components/layout/root-toggle.js'; interface TabOptions { transform?: (option: Option, node: PageTree.Folder) => Option; } declare function getSidebarTabs(pageTree: PageTree.Root, { transform }?: TabOptions): Option[]; interface SidebarOptions extends Omit { enabled: boolean; component: ReactNode; collapsible: boolean; /** * Root Toggle options */ tabs?: Option[] | TabOptions | false; } interface DocsLayoutProps extends BaseLayoutProps { tree: PageTree.Root; sidebar?: Partial; containerProps?: HTMLAttributes; } declare function DocsLayout({ nav: { transparentMode, ...nav }, sidebar: { enabled: sidebarEnabled, collapsible, component: sidebarReplace, tabs: tabOptions, ...sidebar }, i18n, ...props }: DocsLayoutProps): ReactNode; export { DocsLayout, type DocsLayoutProps, type TabOptions, getSidebarTabs };