import { HeadingTagType } from "@lexical/rich-text"; import { LexicalEditor, NodeKey } from "lexical"; import { Accessor, JSX } from "solid-js"; export type TableOfContentsEntry = [ key: NodeKey, text: string, tag: HeadingTagType ]; type Props = { children: (values: Accessor>, editor: LexicalEditor) => JSX.Element; }; export declare function TableOfContentsPlugin({ children }: Props): JSX.Element; export {};