import { type InputDefinition } from './defs.js'; import { type BuildOutputFormatterFlags } from '../command/output-builder.js'; import { type SmartThingsCommand } from '../command/smartthings-command.js'; export type UpdateFromUserInputOptions = { /** * Set this to true to use "output" for the finish verb. The value passed here normally comes * from the `dry-run` flag for commands that use `updateFromUserInput`. */ dryRun: boolean; /** * The verb to use when indicating completion. The default is 'update'. */ finishVerb?: 'create' | 'update'; }; export declare const updateFromUserInput: (command: SmartThingsCommand, inputDefinition: InputDefinition, previousValue: T, options: UpdateFromUserInputOptions) => Promise; /** * Same as `UpdateFromUserInputOptions` but as used in `createFromUserInput`, the default * `finishVerb` is `create` instead of `update`. */ export type CreateFromUserInputOptions = UpdateFromUserInputOptions; /** * Convenience method that makes it easy to use an input definition to create an object in a * command's `getInputFromUser` method. */ export declare const createFromUserInput: (command: SmartThingsCommand, inputDefinition: InputDefinition, options: CreateFromUserInputOptions) => Promise; //# sourceMappingURL=command-helpers.d.ts.map