import { NodeType, ResolvedPos, Schema } from 'prosemirror-model';
import { EditorState, Selection, Transaction } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import { Command } from '../../types';
import { TOOLBAR_MENU_TYPE } from '../insert-block/ui/ToolbarInsertBlock/types';
import { AddItemTransactionCreator, TaskDecisionInputMethod, TaskDecisionListType } from './types';
export declare const getListTypes: (listType: TaskDecisionListType, schema: Schema) => {
    list: NodeType;
    item: NodeType;
};
export declare const insertTaskDecision: (view: EditorView, listType: TaskDecisionListType, inputMethod?: TOOLBAR_MENU_TYPE, listLocalId?: string, itemLocalId?: string) => Command;
export declare const insertTaskDecisionWithAnalytics: (state: EditorState, listType: TaskDecisionListType, inputMethod: TaskDecisionInputMethod, addAndCreateList: AddItemTransactionCreator, addToList?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string) => Transaction | null;
export declare const isSupportedSourceNode: (schema: Schema, selection: Selection) => boolean;
export declare const changeInDepth: (before: ResolvedPos, after: ResolvedPos) => number;
export declare const createListAtSelection: (tr: Transaction, list: any, item: any, schema: Schema, state: EditorState, listLocalId?: string | true, itemLocalId?: string | true) => Transaction | null;
