import { type AssetType } from './asset-formats.js'; export interface AssetUploadPlanOptions { files: string[]; /** Applied to every file; each must be able to upload as it. */ type?: AssetType; /** Display name. Single file only — defaults to the file's base name. */ name?: string; description?: string; /** Replace this asset's content instead of creating one. Single file only. */ assetId?: number; } export interface AssetUploadPlanEntry { filePath: string; assetType: AssetType; contentType: string; displayName: string; description: string; /** Set when the upload replaces an existing asset's content in place. */ assetId?: number; } /** * Turn the command line into one upload per file, rejecting anything that * could not work before a single request is sent — a batch that fails on its * fifth file has already created four assets. */ export declare function buildAssetUploadPlan(options: AssetUploadPlanOptions): AssetUploadPlanEntry[]; //# sourceMappingURL=asset-upload-plan.d.ts.map