/**
 * @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.
     * Note: this intentionally does not change the font size.
     */
    headingLevel?: HeadingProps['level'];
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
export declare const TableOfContents: import("react").ForwardRefExoticComponent<{
    /** The text for the Heading. */
    heading?: string;
    /**
     * The hierarchical level of the Heading within the document.
     * Note: this intentionally does not change the font size.
     */
    headingLevel?: HeadingProps["level"];
} & HTMLAttributes<HTMLElement> & {
    children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLElement>> & {
    Link: import("react").ForwardRefExoticComponent<{
        label: string;
    } & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
    List: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
        children?: import("react").ReactNode | undefined;
    } & import("react").RefAttributes<HTMLUListElement>>;
};
