UNPKG

convex

Version:

Client for the Convex Cloud

29 lines 779 B
import { Context } from "../../../bundler/context.js"; export declare const promptString: (ctx: Context, options: { message: string; default?: string; }) => Promise<string>; export declare const promptOptions: <V>(ctx: Context, options: { message: string; choices: { name: string; value: V; }[]; default?: V; prefix?: string; suffix?: string; }) => Promise<V>; export declare const promptSearch: <V>(ctx: Context, options: { message: string; choices: { name: string; value: V; }[]; default?: V; }) => Promise<V>; export declare const promptYesNo: (ctx: Context, options: { message: string; default?: boolean; prefix?: string; }) => Promise<boolean>; //# sourceMappingURL=prompts.d.ts.map