import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
export type CreatePlugin = (eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void) => SafePlugin | undefined;
export declare const createPlugin: CreatePlugin;
export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
