/** * Prompts text wrapper * * Provides a wrapper around @clack/prompts text function * with consistent cancel handling and validation support. */ /** * Validation function type matching the codebase pattern * Returns undefined for valid input, or error message string for invalid */ type ValidateFunction = (args: { value: string; }) => string | undefined; /** * Prompt user for text input * * @param args - Text input arguments * @param args.message - The message to display * @param args.placeholder - Optional placeholder text * @param args.defaultValue - Optional default value (used when user submits empty) * @param args.initialValue - Optional initial value (pre-filled in input) * @param args.validate - Optional validation function * * @returns The user's input string */ export declare const promptText: (args: { message: string; placeholder?: string | null; defaultValue?: string | null; initialValue?: string | null; validate?: ValidateFunction | null; }) => Promise; export {}; //# sourceMappingURL=text.d.ts.map