First upload version 0.0.1
This commit is contained in:
22
node_modules/node-llama-cpp/dist/cli/utils/ConsoleInteraction.d.ts
generated
vendored
Normal file
22
node_modules/node-llama-cpp/dist/cli/utils/ConsoleInteraction.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
export declare const enum ConsoleInteractionKey {
|
||||
ctrlC = "\u0003",
|
||||
upArrow = "\u001B[A",
|
||||
downArrow = "\u001B[B",
|
||||
enter = "\r"
|
||||
}
|
||||
export declare class ConsoleInteraction {
|
||||
constructor({ stdin }?: {
|
||||
stdin?: NodeJS.ReadStream;
|
||||
});
|
||||
get isActive(): boolean;
|
||||
start(): void;
|
||||
stop(): void;
|
||||
onKey(key: string | ConsoleInteractionKey | (string | ConsoleInteractionKey)[], callback: () => void): ConsoleInteractionOnKeyHandle;
|
||||
static yesNoQuestion(question: string): Promise<boolean>;
|
||||
}
|
||||
export declare class ConsoleInteractionOnKeyHandle {
|
||||
private constructor();
|
||||
dispose(): void;
|
||||
[Symbol.dispose](): void;
|
||||
get disposed(): boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user