lexical-vue
Version:
An extensible Vue 3 web text-editor based on Lexical.
19 lines (18 loc) • 657 B
TypeScript
import * as __VLS_VINE from 'vue-vine/internals';
import type { HeadingTagType } from '@lexical/rich-text';
import type { LexicalEditor, NodeKey } from 'lexical';
export type TableOfContentsEntry = [
key: NodeKey,
text: string,
tag: HeadingTagType
];
type __VLS_VINE_TableOfContentsPlugin_props__ = {};
export declare function TableOfContentsPlugin(props: __VLS_VINE.VineComponentCommonProps & __VLS_VINE_TableOfContentsPlugin_props__, context: {
slots: {
default: (props: {
tableOfContents: TableOfContentsEntry[];
editor: LexicalEditor;
}) => any;
};
}): __VLS_VINE.VueVineComponent;
export {};