import { CommandLineOptions } from '../../Command/commandDefinition'; import { OPTION_LIST } from './customScriptGenerateOptions'; /** * Creates a new custom script project with boilerplate code and configuration files. * Generates `.sosconfig.json`, platform directories, and sample implementations. * * Requires: name, description, dangerLevel (low/medium/high/critical). * * @group Development:21 * * @example * ```bash * # Interactive generation * sos custom-script generate * * # Non-interactive (CI/CD) * sos custom-script generate --name brightness-control --description "Device brightness" --danger-level low --yes * ``` * * @throws {Error} When git is not installed or parameters missing in non-interactive mode * * @see {@link https://developers.signageos.io/docs/custom-scripts/ Documentation} * @see {@link https://developers.signageos.io/docs/custom-scripts/#config-file Config File} * @see {@link ../upload/ Upload command} * * @since 2.2.0 */ export declare const customScriptGenerate: { name: "generate"; description: string; optionList: readonly [{ readonly name: "name"; readonly type: StringConstructor; readonly description: "Custom script name"; }, { readonly name: "description"; readonly type: StringConstructor; readonly description: "Custom script description"; }, { readonly name: "danger-level"; readonly type: StringConstructor; readonly description: "Danger level - Can be one of the following: low, medium, high, critical. It represents the danger level of the Custom Script. It should be set according to the potential impact of the Custom Script on the device."; }, { readonly name: "yes"; readonly type: BooleanConstructor; readonly description: "Skip confirmation prompts and use provided values"; }]; commands: never[]; run(options: CommandLineOptions): Promise; };