export interface UploadResults { /** Presigned URL for uploading your file to storage. */ uploadUrl: string; /** Presigned URL for downloading your file. */ downloadUrl: string; metadata: UploadResults.Metadata; } export declare namespace UploadResults { interface Metadata { /** Name of the uploaded file. */ fileName: string; /** MIME type of the file. */ contentType: string; /** * Expiration date in ISO 8601 format for file download access.
* * Null indicates that `download.expiresAt` was not provided and the expiration time is defaulted to one hour after uploading. */ expiresAt: string | null; /** * Deletion date for the file in ISO 8601 format. After this date, the file will be automatically deleted from our storage.
* * If this field is not provided, the file will not be deleted. You can still schedule deletion or delete the file manually in the Storage page in the dashboard. */ deleteAt?: string | null; } }