UNPKG

humanbehavior-js

Version:

SDK for HumanBehavior session and event recording

32 lines (27 loc) 799 B
declare module '@clack/prompts' { export function intro(message: string): void; export function outro(message: string): void; export function cancel(message: string): void; export function note(message: string, title?: string): void; export function text(options: { message: string; placeholder?: string; defaultValue?: string; validate?: (value: string) => string | undefined; }): Promise<string>; export function select(options: { message: string; options: Array<{ label: string; value: string; hint?: string; }>; }): Promise<string>; export function confirm(options: { message: string; }): Promise<boolean>; export function spinner(): { start(message: string): void; stop(message?: string): void; }; }