import { Root } from 'hast';
import { P as Parser } from './types-BIUZQh-P.js';
import 'prosemirror-model';
import 'prosemirror-view';

type Lowlight = {
    highlight: (language: string, value: string) => Root;
    highlightAuto: (value: string) => Root;
};
declare function createParser(lowlight: Lowlight): Parser;

export { type Lowlight, Parser, createParser };
