import { t } from '../../../common'; import { Schema } from 'prosemirror-model'; import { Plugin } from 'prosemirror-state'; import { Subject } from 'rxjs'; export declare function init(args: { schema: Schema; events$: Subject; history?: boolean; mapKeys?: t.EditorKeyMap; allowEnter?: boolean; allowMetaEnter?: boolean; allowHeadings?: boolean; }): Plugin[];