/** * The `assetType` values `nevermore deploy asset upload` can send to the Open * Cloud Assets API. Mesh is left out on purpose: the API only accepts mesh data * that was itself downloaded from Roblox, which is not something a file on disk * can be recognized as. * * https://create.roblox.com/docs/cloud/guides/usage-assets */ export declare const ASSET_TYPES: readonly ["Animation", "Audio", "Decal", "Image", "Model", "Video"]; export type AssetType = typeof ASSET_TYPES[number]; export interface ResolvedAssetFormat { assetType: AssetType; contentType: string; } /** * Work out how a file uploads: its asset type and the content type to send. * The extension decides both unless `explicitType` picks one of the * alternatives it allows (`Decal` for an image, `Animation` for an `.rbxm`). */ export declare function resolveAssetFormat(filePath: string, explicitType?: AssetType): ResolvedAssetFormat; /** * Whether an existing asset of this type can have its file replaced in place, * keeping its id. The API documents this for models only, and marks images, * audio and video "not available for updating" — so a changed image or sound * is always a new asset with a new id. */ export declare function canUpdateAssetContent(assetType: AssetType): boolean; //# sourceMappingURL=asset-formats.d.ts.map