import { Node as PMNode } from 'prosemirror-model'; import { EditorView, NodeView } from 'prosemirror-view'; /** * NodeView for task items: renders a real checkbox (contenteditable=false) * next to the editable content. Toggling writes the `checked` attr back to * the document as a single transaction. */ export declare class TaskItemView implements NodeView { private node; dom: HTMLLIElement; contentDOM: HTMLElement; private checkbox; constructor(node: PMNode, view: EditorView, getPos: () => number | undefined); update(node: PMNode): boolean; stopEvent(event: Event): boolean; }