import { TableOfContentsProps } from './TableOfContents.types'; /** * 목차 네비게이션을 표시하는 컴포넌트입니다. * * @param {Object} props * @param {Array<{title: string, index: number}>} props.data - 목차 항목들의 배열 ({title, index}[]) * @param {(index: number) => void} [props.onChange] - 목차 항목 선택 시 호출되는 콜백 함수 * @param {number} [props.currentIndex=0] - 현재 선택된 목차의 인덱스 * @param {string} [props.className] - 컴포넌트에 적용할 추가 클래스명 * * @example * ```tsx * const items = [ * { title: '소개', index: 0 }, * { title: '시작하기', index: 1 }, * { title: '사용방법', index: 2 } * ]; * * console.log(`선택된 항목: ${index}`)} * /> * ``` */ declare const TableOfContents: ({ data, onChange, currentIndex, className, }: TableOfContentsProps) => import("react/jsx-runtime").JSX.Element; export { TableOfContents };