import { BaseComponentProps } from '../../types';
export type TableOfContentsLevel = 2 | 3 | 4 | 5 | 6;
export interface TableOfContentsItem {
    id: string;
    href: string;
    label: string;
    level?: TableOfContentsLevel;
}
export interface TableOfContentsProps extends BaseComponentProps {
    items: TableOfContentsItem[];
    activeId?: string | null;
    title?: string;
}
export declare const TableOfContents: import('react').ForwardRefExoticComponent<TableOfContentsProps & import('react').RefAttributes<HTMLElement>>;
