import { Element } from "hast"; import { NormalizedOptions } from "./options"; /** * A function that allows callers to customize the table of contents */ export declare type CustomizationHook = (node: Element, ...args: unknown[]) => Element | boolean | undefined; /** * Allows the user to customize the table of contents before it gets added to the page. */ export declare function customizationHooks(toc: Element, options: NormalizedOptions): Element | undefined;