UNPKG

@stacksjs/clapp

Version:

A toolkit for building CLI prompts in TypeScript.

9 lines 335 B
import type { CommonOptions } from './common'; export declare function path(opts: PathOptions): Promise<string | symbol>; export declare interface PathOptions extends CommonOptions { root?: string directory?: boolean initialValue?: string message: string validate?: (value: string | undefined) => string | Error | undefined }