askeroo
Version:
A modern CLI prompt library with flow control, history navigation, and conditional prompts
15 lines • 563 B
TypeScript
import { PromptRuntime } from "./prompt-runtime.js";
import { UI } from "../types/index.js";
export { PromptRuntime };
/**
* Create a new prompt runtime
*
* Factory function that creates and returns a PromptRuntime instance.
* This provides the main API for executing prompt flows.
*
* @param ui - The UI implementation to use
* @returns Runtime instance with ask, group, and plugin methods
*/
export declare function createRuntime(ui: UI): import("./runtime-context.js").RuntimeAPI;
export { createRuntime as default };
//# sourceMappingURL=core.d.ts.map