import { FC, ReactNode } from "react"; //#region src/providers/TableOfContentsProvider.d.ts interface TableOfContentsItemType { label: string; value: string; count?: number | string; disabled?: boolean; children?: TableOfContentsItemType[]; } interface SetSelectedOptions { behavior?: ScrollBehavior | undefined; shouldInstantlyJumpOnMount?: boolean; } interface TableOfContentsContextType { items: TableOfContentsItemType[]; selected: string | undefined; setSelected: (value: string, options?: SetSelectedOptions) => void; isActive: (item: TableOfContentsItemType) => boolean; } declare function useTableOfContents(): TableOfContentsContextType; interface TableOfContentsProviderProps { items: TableOfContentsItemType[]; children: ReactNode; hashNavigation?: boolean; } declare const TableOfContentsProvider: FC; //#endregion export { TableOfContentsItemType, TableOfContentsProvider, useTableOfContents };