import { PluginKey } from "prosemirror-state"; import { Node } from "prosemirror-model"; import { EditorView } from "prosemirror-view"; import { ChangedRegion, CompletePluginState, GrammarSuggestPluginState, TaskMeta } from "./types"; export declare const completePluginKey: PluginKey; export declare const isCompleteMeta: (meta: any) => meta is TaskMeta; export declare const grammarSuggestPluginKey: PluginKey; export declare const setGrammarSuggestEnabled: (view: EditorView, enabled: boolean) => void; export declare const setCompleteEnabled: (view: EditorView, enabled: boolean) => void; export declare const getTextWithNewlines: (doc: Node) => string; export declare const getLastChangePos: (oldText: string, changes: [number, string][]) => number; export declare const getChangedRegions: (oldText: string, newText: string) => ChangedRegion; //# sourceMappingURL=utils.d.ts.map