import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js"; import { AIChatOptions, BaseLayoutProps, GetLayoutTabsOptions, LayoutTab, NavOptions } from "../shared/index.js"; import { DocsSlots, useNotebookLayout } from "./client.js"; import { HTMLAttributes } from "react"; import * as PageTree from "fumadocs-core/page-tree"; export interface DocsLayoutProps extends Omit { tree: PageTree.Root; tabs?: LayoutTab[] | GetLayoutTabsOptions | false; tabMode?: 'sidebar' | 'navbar'; sidebar?: SidebarOptions; nav?: NavOptions & { mode?: 'top' | 'auto'; }; containerProps?: HTMLAttributes; aiChat?: AIChatOptions; slots?: Partial; } export interface SidebarOptions extends SidebarProps, SidebarProviderProps { /** * @deprecated use layout-level `tabs` option instead. */ tabs?: LayoutTab[] | GetLayoutTabsOptions | false; } export declare function DocsLayout({ tree, tabMode, sidebar: { tabs: defaultTabs, ...sidebarProps }, children, tabs, ...props }: DocsLayoutProps): import("react").JSX.Element; export { type DocsSlots, useNotebookLayout };