import { TOCItemType } from 'fumadocs-core/server'; import { ReactNode, ReactElement } from 'react'; import { BreadcrumbOptions } from 'fumadocs-core/breadcrumb'; interface TOCProps { /** * Custom content in TOC container, before the main TOC */ header?: ReactNode; /** * Custom content in TOC container, after the main TOC */ footer?: ReactNode; children: ReactNode; } declare function Toc({ header, footer, children }: TOCProps): ReactElement; declare function TocPopover({ items, ...props }: TOCProps & { items: TOCItemType[]; className?: string; }): ReactElement; declare function TOCItems({ items, isMenu, }: { items: TOCItemType[]; isMenu?: boolean; }): React.ReactElement; interface BreadcrumbProps extends Omit { /** * Show the full path to the current page * * @defaultValue false */ full?: boolean; } declare function Breadcrumb({ full, ...options }: BreadcrumbProps): React.ReactNode; declare function LastUpdate(props: { date: Date; }): React.ReactElement; interface FooterProps { /** * Items including information for the next and previous page */ items?: { previous?: { name: string; url: string; }; next?: { name: string; url: string; }; }; } declare function Footer({ items }: FooterProps): React.ReactElement; export { Breadcrumb, type BreadcrumbProps, Footer, type FooterProps, LastUpdate, TOCItems, type TOCProps, Toc, TocPopover };