import { TabsScrollProps } from "../../molecules/Tabs/Tabs.types.js"; import { FC } from "react"; //#region src/organisms/TableOfContents/TableOfContents.d.ts interface TableOfContentsBaseProps { onlyShowSelectedChildren?: boolean; /** Truncate labels with an ellipsis after this many lines. Labels wrap fully when omitted. */ maxLines?: number; } interface TableOfContentsVerticalProps extends TableOfContentsBaseProps { mode?: 'vertical'; } interface TableOfContentsHorizontalProps extends TableOfContentsBaseProps { mode: 'horizontal'; tabsProps?: TabsScrollProps; } type TableOfContentsProps = TableOfContentsVerticalProps | TableOfContentsHorizontalProps; declare const TableOfContents: FC; //#endregion export { TableOfContents, TableOfContentsProps };