import { CommandLineOptions } from '../../Command/commandDefinition'; export declare const OPTION_LIST: readonly [{ readonly name: "no-default-organization"; readonly type: BooleanConstructor; readonly description: "Prevent using the defaultOrganizationUid from ~/.sosrc"; }, { readonly name: "organization-uid"; readonly type: StringConstructor; readonly description: "Organization UID"; }, { readonly name: "yes"; readonly type: BooleanConstructor; readonly description: "Allow to upload new custom script or create new version without confirmation step"; }]; /** * Uploads custom script code and configuration to signageOS platform from `.sosconfig.json`. * Creates/updates script, uploads platform-specific files, and provides script UID for execution. * * May prompt for confirmation when creating new scripts or versions. * Use `--yes` to skip prompts for automated deployments. * * @group Development:22 * * @example * ```bash * # Upload interactively * sos custom-script upload * * # Skip confirmations (CI/CD) * sos custom-script upload --yes * * # Specific organization * sos custom-script upload --organization-uid abc123def456 * ``` * * @throws {Error} When `.sosconfig.json` missing/invalid or upload fails * * @see {@link https://developers.signageos.io/docs/custom-scripts/ Documentation} * @see {@link https://developers.signageos.io/api/#tag/DeviceCustom-Script REST API} * @see {@link ../generate/ Generate command} * * @since 1.8.0 */ export declare const customScriptUpload: { name: "upload"; description: string; optionList: readonly [{ readonly name: "no-default-organization"; readonly type: BooleanConstructor; readonly description: "Prevent using the defaultOrganizationUid from ~/.sosrc"; }, { readonly name: "organization-uid"; readonly type: StringConstructor; readonly description: "Organization UID"; }, { readonly name: "yes"; readonly type: BooleanConstructor; readonly description: "Allow to upload new custom script or create new version without confirmation step"; }]; commands: never[]; run(options: CommandLineOptions): Promise; };