/** * Transforms an object of parameters into a string. * @param parameters Parameters to transform into CLI arguments * @returns Parameter string to be appended to CLI command */ export declare function getParameterString(parameters: Record): string; /** * Transforms an object of parameters into an array of strings with key followed by the corresponding value. * @param parameters Parameters to transform into CLI arguments * @returns Parameter string to be appended to CLI command */ export declare function getSpawnParameterArray(parameters: Record): string[]; /** * The needed configuration to convert an object of options into an array of CLI parameters. */ export interface CommandLineParamFixes { /** * A map of the option keys and what those flags are named in the cli */ keyMap: Partial>; /** * These are keys that need to be passed as `--key false` instead of not including in the flags */ explicitFalseKeys: readonly TKey[]; } /** * Converts an object of options like `{ noBuild: true }`into an array of CLI parameters like `["--no-build"]` * Will run a conversion process to change every option to a string, and will map keys to different flags if needed. */ export declare function convertOptionsToParams(options: Partial>, fixes: CommandLineParamFixes): string[];