interface TableOfContentsItem {
    /** The id of the element to link to */
    id: string;
    /** The text to show in the link */
    text: string;
}
interface Props {
    /** The items to show. This will default to all h1-h6s inside the `selector`. */
    items?: TableOfContentsItem[];
    /** A parent selector for all h1-h6s, to use if no items have been passed in. */
    selector?: string;
    /** Additional classes  */
    className?: string;
}
declare const TableOfContents: ({ items: originalItems, selector, className, }: Props) => false | import("react/jsx-runtime").JSX.Element;
export default TableOfContents;
