/** * @license * * Copyright IBM Corp. 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { HTMLProps } from 'react'; interface TocItemProps extends HTMLProps { children: React.ReactNode; /** * Internally used and passed in programmatically. Any value provided will be overwritten. * */ isActive?: boolean; /** * Internally used and passed in programmatically. Any value provided will be overwritten. * */ index?: number; } declare const TocItem: { ({ children, isActive, className, index, ...rest }: TocItemProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; export { TocItem }; export type { TocItemProps };