import { Inquirerer, Question } from 'inquirerer'; import { ExtractedVariables } from '../types'; /** * Generate questions from extracted variables * @param extractedVariables - Variables extracted from the template * @returns Array of questions to prompt the user */ export declare function generateQuestions(extractedVariables: ExtractedVariables): Question[]; /** * Prompt the user for variable values * @param extractedVariables - Variables extracted from the template * @param argv - Command-line arguments to pre-populate answers * @param existingPrompter - Optional existing Prompter instance to reuse. * If provided, the caller retains ownership and must close it themselves. * If not provided, a new instance is created and closed automatically. * @param noTty - Whether to disable TTY mode (only used when creating a new prompter) * @returns Answers from the user */ export declare function promptUser(extractedVariables: ExtractedVariables, argv?: Record, existingPrompter?: Inquirerer, noTty?: boolean): Promise>;