import { Argv } from 'yargs'; import { InputProcessor } from './input-processor.js'; export type InputProcessorFlags = { input?: string; }; export declare const inputProcessorBuilder: (yargs: Argv) => Argv; /** * Build the most common type of input processor, which can handle data from stdin, a specified * file and optional "user" input formats. * * The input processors are tried in this order (the first found to return data is used): * 1. file * 2. stdin * 3. alternateInputProcessors in the order they are listed * * @param alternateInputProcessors User input processors. Most commonly this will be a single * input processor that asks the user questions and builds input data based on their responses. * Another less common use case (which might co-exist with a Q&A input processor) would be building * the data from command line options. */ export declare const buildInputProcessor: (flags: InputProcessorFlags, ...alternateInputProcessors: InputProcessor[]) => InputProcessor; //# sourceMappingURL=input-builder.d.ts.map