import { NevermoreGlobalArgs } from '../../args/global-args.js'; import { type AssetType } from '../../utils/assets/asset-formats.js'; import { type AssetCreator } from '../../utils/open-cloud/open-cloud-client.js'; export interface AssetUploadArgs extends NevermoreGlobalArgs { files?: string[]; apiKey?: string; type?: AssetType; name?: string; description?: string; userId?: number; groupId?: number; assetId?: number; output?: string; timeout?: number; } /** What happened to one file. Written to `--output` as-is. */ export interface AssetUploadResult { file: string; assetType: AssetType; displayName: string; action: 'created' | 'updated'; success: boolean; assetId?: number; /** `rbxassetid://`, ready to paste into a content property. */ assetUri?: string; revisionId?: string; moderationState?: string; error?: string; } export interface AssetUploadReport { /** Who owns the assets this run created. Absent when it only replaced one. */ creator?: AssetCreator; assets: AssetUploadResult[]; } /** * `nevermore deploy asset upload ` — upload files as Roblox assets * through the Open Cloud Assets API and print the id each one was given. * * Every file is attempted and reported, even after one fails. The assets that * did upload now exist, so their ids are the one thing a failed run must not * lose. */ export declare function handleAssetUploadAsync(args: AssetUploadArgs): Promise; //# sourceMappingURL=asset-command.d.ts.map