/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export type TableOfContentsListProps = { /** * Whether items with nested lists in this list start expanded. * When this list is nested inside a Link, this also controls whether that Link starts expanded. * Inherits from the parent list when omitted. * @default false */ readonly defaultExpanded?: boolean; } & PropsWithChildren>; /** * The list of section links within a Table of Contents. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-table-of-contents--docs Table of Contents docs at Amsterdam Design System} */ export declare const TableOfContentsList: import("react").ForwardRefExoticComponent<{ /** * Whether items with nested lists in this list start expanded. * When this list is nested inside a Link, this also controls whether that Link starts expanded. * Inherits from the parent list when omitted. * @default false */ readonly defaultExpanded?: boolean; } & HTMLAttributes & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>;