askeroo
Version:
A modern CLI prompt library with flow control, history navigation, and conditional prompts
8 lines • 318 B
TypeScript
export interface AskOptions {
onCancel?: (context: {
results: Record<string, any>;
cleanup: () => void;
}) => void | Promise<void>;
}
export declare const ask: (flow: import("../../index.js").FlowFunction<any>, opts?: AskOptions | undefined) => Promise<any>;
//# sourceMappingURL=index.d.ts.map