import { NodeSelectorProps } from './types';
import { EditorState, Transaction } from 'prosemirror-state';
import { Dispatch } from '@tiptap/react';

interface ListConfig {
    type: 'bulletList' | 'orderedList' | 'taskList';
    itemType: 'listItem' | 'taskItem';
    hasAttrs?: boolean;
}
type ListConversionProps = {
    tr: Transaction;
    dispatch: Dispatch;
    state: EditorState;
    from: number;
    to: number;
    listConfig?: ListConfig;
};
export declare const convertListToParagraphs: ({ tr, dispatch, state, from, to, }: ListConversionProps) => boolean;
export declare const convertToList: ({ tr, dispatch, state, from, to, listConfig, }: ListConversionProps) => boolean;
export declare const NodeSelector: ({ editor, elementRef }: NodeSelectorProps) => import("react/jsx-runtime").JSX.Element;
export {};
