import { Element } from "hast"; import { CustomizationHook } from "./customization-hooks"; import { HeadingTagName, ListItem } from "./types"; /** * The different positions at which the table of contents can be inserted, * relative to the `
` element. */ export declare type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend"; /** * Options for the Rehype TOC plugin */ export interface Options { /** * Determines whether the table of contents is wrapped in a `