* Upload a new hosted image * @param image The image file to upload * @param options Upload configuration * @returns Metadata for the uploaded image * @throws ImagesError if upload fails
(
image: ReadableStream<Uint8Array> | ArrayBuffer,
options?: ImageUploadOptions,
)
| 11975 | * @throws {@link ImagesError} if upload fails |
| 11976 | */ |
| 11977 | upload( |
| 11978 | image: ReadableStream<Uint8Array> | ArrayBuffer, |
| 11979 | options?: ImageUploadOptions, |
| 11980 | ): Promise<ImageMetadata>; |
nothing calls this directly
no outgoing calls
no test coverage detected