import { Inquirerer } from 'inquirerer'; import { ExtractedVariables } from '../types'; export interface ProcessOptions { argv?: Record; noTty?: boolean; fromPath?: string; /** * Optional Prompter instance to reuse for prompting. * If provided, the caller retains ownership and is responsible for closing it. * If not provided, a new instance will be created and closed automatically. */ prompter?: Inquirerer; } export interface TemplatizerResult { outputDir: string; variables: ExtractedVariables; answers: Record; }