First upload version 0.0.1
This commit is contained in:
28
node_modules/node-llama-cpp/dist/utils/gbnfJson/terminals/GbnfObjectMap.d.ts
generated
vendored
Normal file
28
node_modules/node-llama-cpp/dist/utils/gbnfJson/terminals/GbnfObjectMap.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import { GbnfTerminal } from "../GbnfTerminal.js";
|
||||
import { GbnfGrammarGenerator } from "../GbnfGrammarGenerator.js";
|
||||
import { GbnfJsonScopeState } from "../utils/GbnfJsonScopeState.js";
|
||||
import { GbnfString } from "./GbnfString.js";
|
||||
import { GbnfStringValue } from "./GbnfStringValue.js";
|
||||
export declare class GbnfObjectMap extends GbnfTerminal {
|
||||
readonly fields: Array<Readonly<{
|
||||
key: GbnfString | GbnfStringValue;
|
||||
value: GbnfTerminal;
|
||||
required: true;
|
||||
}>>;
|
||||
readonly additionalProperties?: GbnfTerminal;
|
||||
readonly minProperties: number;
|
||||
readonly maxProperties?: number;
|
||||
readonly scopeState: GbnfJsonScopeState;
|
||||
constructor({ fields, additionalProperties, minProperties, maxProperties, scopeState }: {
|
||||
fields: Array<Readonly<{
|
||||
key: GbnfString | GbnfStringValue;
|
||||
value: GbnfTerminal;
|
||||
required: true;
|
||||
}>>;
|
||||
additionalProperties?: GbnfTerminal;
|
||||
minProperties?: number;
|
||||
maxProperties?: number;
|
||||
scopeState?: GbnfJsonScopeState;
|
||||
});
|
||||
getGrammar(grammarGenerator: GbnfGrammarGenerator): string;
|
||||
}
|
||||
Reference in New Issue
Block a user