Files
airllm-fork-nodejs/node_modules/node-llama-cpp/dist/utils/gbnfJson/terminals/GbnfWhitespace.d.ts
2026-02-05 15:27:49 +08:00

14 lines
529 B
TypeScript

import { GbnfTerminal } from "../GbnfTerminal.js";
import { GbnfJsonScopeState } from "../utils/GbnfJsonScopeState.js";
export declare class GbnfWhitespace extends GbnfTerminal {
readonly scopeState: GbnfJsonScopeState;
readonly newLine: "before" | "after" | false;
constructor(scopeState: GbnfJsonScopeState, { newLine }?: {
newLine?: "before" | "after" | false;
});
getGrammar(): string;
protected getGrammarFromResolve(): string;
private _getGrammar;
protected getRuleName(): string;
}