/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; import type { HeadingProps } from '../Heading'; export type TableOfContentsProps = { /** The text for the Heading. */ heading?: string; /** * The hierarchical level of the Heading within the document. * Visually, it always has the size of a level 3 Heading. */ headingLevel?: HeadingProps['level']; } & PropsWithChildren>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-table-of-contents--docs Table Of Contents docs at Amsterdam Design System} */ export declare const TableOfContents: import("react").ForwardRefExoticComponent<{ /** The text for the Heading. */ heading?: string; /** * The hierarchical level of the Heading within the document. * Visually, it always has the size of a level 3 Heading. */ headingLevel?: HeadingProps["level"]; } & HTMLAttributes & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes> & { Link: import("react").ForwardRefExoticComponent<{ label: string; } & import("react").AnchorHTMLAttributes & import("react").RefAttributes>; List: import("react").ForwardRefExoticComponent & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>; };