import { Processor, Transformer } from "unified";
import { Root } from "hast";

//#region src/mdx-plugins/rehype-toc.d.ts
interface RehypeTocOptions {
  /**
   * Export generated toc as a variable
   *
   * @defaultValue true
   */
  exportToc?: boolean;
}
declare function rehypeToc(this: Processor, {
  exportToc
}?: RehypeTocOptions): Transformer<Root, Root>;
//#endregion
export { rehypeToc as n, RehypeTocOptions as t };
//# sourceMappingURL=rehype-toc-DJvSyE0o.d.ts.map