import { n as Parser, r as ParserOptions } from "./types-jXJYKXGQ.js";
import { Highlighter } from "@lezer/highlight";
import { Tree } from "@lezer/common";

//#region src/lezer.d.ts
declare function createParser({
  parse,
  highlighter
}: {
  parse: (options: ParserOptions) => Tree | undefined;
  highlighter: Highlighter | readonly Highlighter[];
}): Parser;
//#endregion
export { type Parser, type ParserOptions, createParser };
//# sourceMappingURL=lezer.d.ts.map