13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
import { RegexEngine } from "@shikijs/types";
|
|
|
|
//#region src/engine-raw.d.ts
|
|
/**
|
|
* Raw JavaScript regex engine that only supports precompiled grammars.
|
|
*
|
|
* This further simplifies the engine by excluding the regex compilation step.
|
|
*
|
|
* Zero dependencies.
|
|
*/
|
|
declare function createJavaScriptRawEngine(): RegexEngine;
|
|
//#endregion
|
|
export { createJavaScriptRawEngine }; |